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 menu, then every command's page in manualOrder, each behind the same separator. 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, this project's Compose file, the config paths, or which accounts are signed in. Contributor build/test guidance is NOT here: it lives in CONTRIBUTING.md, where a contributor looks, not in the user's command reference.
Types ¶
This section is empty.
Source Files
¶
- acp_box_wait.go
- acp_build_command.go
- acp_cmd.go
- acp_network.go
- acp_refresh.go
- acp_serve.go
- acp_serve_watch.go
- acp_start_notice.go
- boxsweep.go
- build_cmd.go
- checksecrets.go
- cli.go
- commands.go
- completion.go
- context.go
- doctor.go
- doctor_checks.go
- doctor_report.go
- eval_cmd.go
- eval_freeze.go
- eval_grade.go
- eval_loop.go
- eval_results.go
- eval_runtime_profile.go
- eval_trial.go
- fork_acp.go
- fork_cmd.go
- fork_isolated.go
- fork_loop_report.go
- help.go
- init_cmd.go
- launch_box.go
- loop_cmd.go
- models.go
- modelscache.go
- net_approve.go
- net_cmd.go
- net_diagnostic.go
- net_forget.go
- network_flags.go
- presetcmd.go
- presetflag.go
- profiles.go
- project_build.go
- report.go
- resume_note.go
- rotation.go
- selfupdate.go
- services_cmd.go
- session_cmd.go
- session_connect.go
- session_tasks.go
- setup_cmd.go
- sign.go
- target.go
- tempreap.go
- updatecheck.go
- usage.go
- usage_reports.go
- util.go
- watch.go