Cli
cli
axm-doctor command-line interface (cyclopts).
The CLI is a thin shell: it owns argument parsing and human-facing output but delegates every operation to the central detect/install/orchestrate functions, so no business logic is duplicated across the CLI / MCP boundary.
Two commands, two postures:
check— the read-only report. It prints tool presence, third-party auth state and missing (value-free) secrets, then exits 0. It NEVER installs and NEVER prompts.bootstrap— the interactive path. For each absent tool it shows the official install command and installs only on an explicity(default No, honouring the no-system-install rule); for missing secrets it offers to run vault setup. Nothing happens without a yes.
bootstrap()
Interactively install absent tools and provision secrets on confirmation.
Source code in packages/axm-doctor/src/axm_doctor/cli.py
check()
Print the read-only env report and exit 0; never installs or prompts.