Documentation
¶
Overview ¶
Package cli is the command-line surface: it parses argv, resolves the config and runtime, and dispatches to the box engine and scaffolder. The routing: bare `coop` prints help (running an agent is explicit), `coop <agent>` runs a named agent, known subcommands run their command, and an unrecognized command is an error — raw commands run in the box explicitly, via `coop run -- <cmd>`.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Version = "dev"
Version is the tool version, reported by `coop version`. Defaults to "dev" and is overridden at build time via -ldflags (GoReleaser and the Makefile).
Functions ¶
func RenderManual ¶
RenderManual is the entire CLI reference as ONE deterministic, plain-text document: the reference- form top-level overview, then every command's page in a stable order. It's the single source shared by `coop help --all`, docs/cli.md, and site/llms.txt — so terminal, docs, and the offline reference are provably identical (tools/gendocs -check enforces it). Plain (ui.Palette{}) and state-free, so its bytes never depend on the terminal, the repo's compose file, the config paths, or logins.
Types ¶
This section is empty.