$ apm doctor --help
Usage: apm doctor [OPTIONS]
Run environment diagnostics (git, network, auth, gh CLI, marketplace
config). Reports a pass/fail table and exits non-zero if a critical check
fails.
Options:
-v, --verbose Show detailed output
--help Show this message and exit.
CLI Consistency Report
Date: 2026-06-30
APM Version: 0.23.1 (d1d926d)
Commands Inspected: 43 (23 task-required + 20 additional)
Summary
High Severity
apm doctorhas no dedicated CLI reference pageapm doctorapm doctoris a fully implemented, user-facing diagnostic command with--verbosesupport, but it has no dedicated page underdocs/src/content/docs/reference/cli/. Every other top-level command has a reference page;doctoris the only exception. The command is referenced in guides (operating-installed-context.md,security.md,publish-to-a-marketplace.md) and in theapprove.mdpage, meaning users following those cross-links have no reference target.ls docs/src/content/docs/reference/cli/returns nodoctor.md.docs/src/content/docs/reference/cli/doctor.mddocumenting the command, its--verboseflag, exit codes, and the checks it runs (git, network, auth, gh CLI, marketplace config).Medium Severity
Reference index table omits many existing commands
docs/src/content/docs/reference/index.mdapprove/deny,find,lifecycle,lock,plugin,publish,self-update. A user browsing the reference index will not discover these commands.The table in
reference/index.mdlists phases and commands, but these commands with their existing.mdfiles are absent from every row:approve.md(covers bothapm approveandapm deny)find.mdlifecycle.mdlock.mdplugin.mdpublish.mdself-update.mdlockfindplugin,publishapprove/deny,lifecycleself-updateREADME CLI Reference link uses wrong path
README.mdline 9(microsoft.github.io/redacted) for the CLI Reference, but all actual CLI reference pages live under/reference/cli/(e.g.,/reference/cli/install/). The pathcli-commands` does not appear anywhere in the docs source tree.docs/src/content/docs/reference/cli/install.md,docs/src/content/docs/reference/cli/config.md, etc. Nocli-commands/directory exists.(microsoft.github.io/redacted) (or the index page if one exists at/reference/cli/`).--yes/-yflag description is inconsistent across commandsapm update,apm deps clean,apm init-y, --yesflag has three different descriptions across commands that all use it for the same general purpose (skipping a confirmation prompt).apm deps cleanis missing "the" and the parenthetical.apm inituses completely different wording.apm update/apm deps clean:Skip the confirmation promptapm init:Skip interactive prompts (use auto-detected defaults)apm config gethelp does not describe its list-all behaviorapm config getapm config getwith no argument prints all user-settable configuration keys and their effective values, but the help text gives no hint of this behavior. Users who want to see all config values might not discover this.reference/cli/config.md): "With no argument, prints all user-settable keys with their effective values (defaults included)."Get a configuration value (omit KEY to list all settable keys with effective values).Low Severity
apm unpackdeprecation notice lacks a replacement callout in top-level helpapm --help,apm unpack --helpapm unpackis labeled[Deprecated]in the top-level command listing, which is good. However, the one-line summary inapm --helpsays only "[Deprecated] Extract an APM bundle..." without stating the replacement. Users unfamiliar with the tool may not see the replacement (apm install <bundle-path>) unless they readapm unpack --help.[Deprecated] Use 'apm install <bundle-path>' instead.Clean Areas
The following commands and areas passed all checks with no issues found:
--version,--verbose/-v,--helpall work correctly on every tested command and subcommand.--dry-runflag: Present and consistently described on all destructive commands that support it (install,uninstall,update,compile,deps clean,prune,audit,publish).apm depsgroup:list,tree,info,clean,whyall have correct help text matching the documentation.apm mcpgroup:list,search,show,installall have correct help text and default values matching the documentation (list default: 20, search default: 10).apm config:get,set,unsetare accurately documented. Nolistsubcommand exists or is documented.apm runtime:setup,list,status,removeall exist and match the documentation.apm install/apm update: Complex flag sets are accurately documented with defaults.apm deps update,apm init --plugin,apm init --marketplace,apm install --runtime,apm install --updateall clearly state they are deprecated and provide the replacement.Warning
Firewall blocked 2 domains
The following domains were blocked by the firewall during workflow execution:
astral.shindex.crates.ioSee Network Configuration for more information.