-t, --target [copilot|claude|cursor|opencode|codex|vscode|agents|all]
Target platform: copilot (AGENTS.md), claude (CLAUDE.md),
cursor, opencode, or all.
'vscode' and 'agents' are deprecated aliases for 'copilot'.
```
**Evidence (docs, `cli-commands.md` line 1087)**:
```
-t, --target [vscode|agents|claude|codex|opencode|all] - Target agent format.
agents is an alias for vscode. Auto-detects if not specified.
```
CLI Consistency Report
Date: 2026-04-08
APM Version: 0.8.11 (e5cc153)
Commands Inspected: 42 (all top-level commands + all subcommands, including
--helpon every leaf)Summary
High Severity
apm compile --targetvalid values are wrong in docs and deprecated-alias description is invertedapm compile --helpcopilotandcursoras target values but docs only list[vscode|agents|claude|codex|opencode|all]. Additionally, the CLI states "vscodeandagentsare deprecated aliases forcopilot" whereas the docs say "agentsis an alias forvscode" — the direction of the alias relationship is contradictory.cli-commands.mdcompile target option to[copilot|claude|cursor|opencode|codex|vscode|agents|all]and align the alias description: "vscodeandagentsare deprecated aliases forcopilot". Also update the Target Formats table (line ~1145) which still describesvscodeas a first-class target rather than a deprecated alias.apm install --targetdocs missingvscodeandagentsvaluesapm install --helpvscodeandagentsas install target values, but docs only list[copilot|claude|cursor|codex|opencode|all].cli-commands.mdline 91):[copilot|claude|cursor|opencode|codex|vscode|agents|all]and add a note thatvscodeandagentsare deprecated aliases forcopilot.apm pack --targetdocs missingagentsvalue and incorrectly omits deprecated notice forvscodeapm pack --helpagentsand marksvscodeas deprecated, but the docs listvscodeas a first-class value and omitagentsentirely.cli-commands.mdline 454):[copilot|claude|cursor|opencode|codex|vscode|agents|all]and change "is an alias" to "is a deprecated alias" to match CLI messaging. Addagentsto the list.apm deps update --targetdocs omitvscodeandagentsvaluesapm deps update --helpvscodeandagentsas target values fordeps update, but docs only listcopilot, claude, cursor, opencode, vscode, agents, all— wait, the docs actually say: "--target, -t - Force deployment to a specific target (copilot, claude, cursor, opencode, vscode, agents, all)" which actually matches. However the format inconsistency remains (see Medium section below for the-vordering).cli-commands.mdline 755):codexis missing from the docs list — add it. Use enum bracket notation[copilot|claude|cursor|opencode|codex|vscode|agents|all]for consistency.Medium Severity
apm pack -v/--verbosemissing from docsapm pack --helpapm packaccepts-v, --verbosebut the docs Options section forapm packdoes not list this flag at all.cli-commands.mdlines 452-461): No--verboseentry in the pack options list.- -v, --verbose - Show detailed packing informationto theapm packoptions in the docs.apm unpack -v/--verbosemissing from docsapm unpack --helpapm unpackaccepts-v, --verbosebut the docs Options section forapm unpackdoes not list this flag.cli-commands.mdlines 524-528): Options lists-o,--skip-verify,--force,--dry-run— no--verbose.- -v, --verbose - Show detailed unpacking informationto theapm unpackoptions in the docs.apm deps tree -g/--globalmissing from docsapm deps tree --helpapm deps treesupports-g, --globalto show the user-scope dependency tree, but this option is not documented in thedeps treesection.cli-commands.mdline ~660): Theapm deps treesection shows no options other than a bare usage line.- -g, --global - Show user-scope dependency tree (~/.apm/)and a corresponding exampleapm deps tree -gto thedeps treedocs section.apm install --verbosedocs missing the-vshort formapm install --help-v, --verbose. Theapm installdocs only list--verbose, dropping the-vshort flag.cli-commands.mdline 95):- \-v, --verbose`` to be consistent with every other command.Low Severity
apm deps updateverbose flag documented in reversed orderapm deps update --help-v, --verbose. Thedeps updatedocs list it as--verbose, -v(long form first).cli-commands.mdline 754):- \-v, --verbose`` to match the uniform style used everywhere else.apm runtime removeuses--yeswithout a-yshort form (unlike sibling commands)apm runtime remove --helpapm runtime removeexposes--yes(no short form), whileapm init,apm deps clean, andapm marketplace removeall expose-y, --yes. This is a minor UX inconsistency but may surprise users who rely on-ymuscle memory.-yas a short form for--yesinapm runtime remove(source:src/apm_cli/commands/runtime/cli.pyremove command) for consistency, or at minimum document the difference.Clean Areas
The following commands and areas passed all checks with no issues found:
apm init— flags, descriptions, and docs are consistentapm uninstall— flags and docs matchapm update— flags and docs matchapm run/apm preview/apm list— all consistentapm audit— comprehensive docs, all flags presentapm prune— flags and docs match (no verbose, no global — intentional)apm search— flags and docs matchapm mcp list/search/show— flags and docs matchapm config get/set— flags and docs matchapm deps list/info/clean— flags and docs matchapm marketplace add/browse/list/remove/update— flags and docs matchapm runtime setup/list/status— flags and docs matchError:messages with usage hints, no tracebacksapm mcp installandapm config list— correctly absent from both CLI and docs (no phantom references found)