# apm pack --help
-t, --target [copilot|vscode|claude|all]
Filter files by target (default: auto-
detect). 'vscode' is an alias for 'copilot'.
# apm compile --help
-t, --target [vscode|agents|claude|all]
Target platform: vscode/agents (AGENTS.md),
claude (CLAUDE.md), or all. Auto-detects if
not specified.
```
CLI Consistency Report
Date: 2026-03-13
APM Version: 0.7.8 (09fef91)
Commands Inspected: 30
Summary
Medium Severity
1.
--targetvalues differ betweenapm packandapm compileapm pack,apm compileapm packtreatscopilotas the canonical value (withvscodeas an alias).apm compiletreatsvscodeas the canonical value (withagentsas an alias). Users switching between the two commands face inconsistent terminology.vscodeas the primary value across both commands (matching the VSCode-facing branding). Inapm pack, swap so the accepted values are[vscode|copilot|claude|all]with a note thatcopilotis the alias forvscode.2.
apm deps cleanis missing--dry-runand--yesflagsapm deps cleanapm deps cleanremoves the entireapm_modules/directory but offers no--dry-runpreview and no--yesflag for non-interactive/scripted use. Every other destructive operation in the CLI supports--dry-run(install,uninstall,prune,pack,unpack), andapm runtime removehas--yes. The asymmetry makesdeps cleanharder to use safely in CI pipelines.--dry-run(show what would be removed) and--yes/-y(skip the interactive confirmation prompt) toapm deps clean.3.
apm mcp list --limitdoes not display a default value;apm mcp search --limitdoesapm mcp list,apm mcp search--limit INTEGERoption, but onlyapm mcp searchannotates the default value in the help text. Users runningapm mcp listcannot tell how many results will be returned without reading the source or running the command.default=parameter to the--limitoption inapm mcp listso the help text displays[default: N], matchingapm mcp search.Low Severity
4.
--verbosehas a short flag (-v) inapm compilebut not inapm installapm install,apm compile--verboseflag but onlyapm compileadds the-vshorthand. Users who habitually type-vfor verbose output inapm installget an error.-vas a short flag for--verboseinapm install.5.
apm deps updateargument name differs between CLI and docsapm deps updatePACKAGE, but the documentation atdocs/src/content/docs/reference/cli-commands.mdrefers to it asPACKAGE_NAME. While functionally harmless, it creates confusion when cross-referencing.PACKAGEto match the actual CLI usage string, or update the CLI source to usePACKAGE_NAMEfor clarity.6.
apm runtime statusdescription diverges between CLI and documentationapm runtime statusShow active runtime and preference order(or similar), bringing it in line with the documentation's more descriptive phrasing.Clean Areas
The following commands and areas passed all checks with no issues found:
apm init— options, description, and docs fully alignedapm install— all flags documented accurately; error handling cleanapm uninstall— consistent with docs;--dry-runpresentapm update—--checkflag present and documented correctlyapm prune—--dry-runpresent; docs consistentapm run/apm preview—--paramflag consistent between both commandsapm list— simple, accurateapm unpack— flags match docs;--dry-runand--skip-verifypresentapm deps list/apm deps tree/apm deps info— help text consistent with docsapm mcp search/apm mcp show— argument names and flags consistentapm config set/apm config get— flags and argument names match docsapm runtime setup/apm runtime list/apm runtime remove— consistent with docsError:messages — no stack traces or unhandled exceptions observed--help/-h: Works correctly on every command and subcommand inspected