-
Notifications
You must be signed in to change notification settings - Fork 139
[cli-consistency] CLI Consistency Report — 2026-03-20 #390
Copy link
Copy link
Closed
Labels
automationDeprecated: use type/automation. Kept for issue history; will be removed in milestone 0.10.0.Deprecated: use type/automation. Kept for issue history; will be removed in milestone 0.10.0.cliDeprecated: use area/cli. Kept for issue history; will be removed in milestone 0.10.0.Deprecated: use area/cli. Kept for issue history; will be removed in milestone 0.10.0.documentationDeprecated: use type/docs. Kept for issue history; will be removed in milestone 0.10.0.Deprecated: use type/docs. Kept for issue history; will be removed in milestone 0.10.0.
Metadata
Metadata
Assignees
Labels
automationDeprecated: use type/automation. Kept for issue history; will be removed in milestone 0.10.0.Deprecated: use type/automation. Kept for issue history; will be removed in milestone 0.10.0.cliDeprecated: use area/cli. Kept for issue history; will be removed in milestone 0.10.0.Deprecated: use area/cli. Kept for issue history; will be removed in milestone 0.10.0.documentationDeprecated: use type/docs. Kept for issue history; will be removed in milestone 0.10.0.Deprecated: use type/docs. Kept for issue history; will be removed in milestone 0.10.0.
CLI Consistency Report
Date: 2026-03-20
APM Version: 0.8.3
Commands Inspected: 31
Summary
Medium Severity
--verboseflag is missing-vshort alias onapm installapm install --verboseapm compileandapm auditboth expose-v, --verbose, butapm install --verbosehas no-vshort alias, breaking muscle-memory consistency across the three commands where verbose logging matters most.-vas a short alias to the--verboseoption inapm install.--yesflag is missing-yshort alias onapm runtime removeapm runtime remove --yesapm initexposes-y, --yes, butapm runtime remove --yeshas no-yshort alias, inconsistent within the same CLI.-yas a short alias to the--yesoption inapm runtime remove.apm mcp list --limitis missing default value displayapm mcp list --limitapm mcp search --limitshows[default: 10], butapm mcp list --limitdoes not display any default, leaving users unsure how many results will be returned.default=10(or the actual default) to the--limitoption inapm mcp listso Click displays[default: N]consistently.apm pack --formatis missing default value in help textapm pack --formatBundle format.with no default indicated, while the documentation states the default isapm. Other options in the same command (--target,--output) explicitly show their defaults.cli-commands.md, line 420):--format [apm|plugin]- Bundle format (default:apm)default="apm"orshow_default=Trueto the--formatoption so the help text reads[default: apm].Low Severity
apm auditcommand description is incompleteapm auditapm auditalso supports scanning arbitrary files via--file PATH. A user who doesn't read the full help may not discover this capability.apm config getdescription implies single-value retrievalapm config getKEYis omitted the command displays all configuration values. This is confusing.cli-commands.md, line 1059): "IfKEYis omitted, displays all configuration values."apm compile -oreferences undocumented "single-file mode"apm compile -o / --output--single-agentsflag to activate and is described as "legacy mode" in that flag's help text.Clean Areas
The following commands and areas passed all checks with no issues:
apm init: Clear, consistent help text;-y/--yesand--pluginwell-described.apm install: Comprehensive option descriptions, accurate defaults shown where applicable.apm uninstall: Simple, accurate, and consistent.apm prune: Accurate and concise.apm compile: Rich option set, well-documented targets and flags (except-onote above).apm run/apm preview/apm list: Consistent-p/--paramusage; clean output.apm pack/apm unpack: Mostly consistent;--force,--dry-run,--skip-verifywell-described.apm audit: Exit codes, option descriptions, and short aliases (-v,-f,-o) are well-implemented (except description wording above).apm deps(all subcommands): Accurate;updatecorrectly marks[PACKAGE]as optional.apm mcp search/mcp show/mcp list: Functional;searchhas correct default.apm config set: Accurate; describes supported keys and accepted values.apm runtime setup/list/remove/status: Accurate;--versionand--vanillawell-described.docs/src/content/docs/reference/cli-commands.mdis accurate and complete. All documented commands exist in the CLI. References toapm audit --ciin other docs are correctly marked as "planned but not yet available".