Summary
CLI inspection on 2026-06-22 found 23 issues across help text, flag naming, and docs.
| Severity |
Count |
| π΄ High |
5 |
| π‘ Medium |
11 |
| π’ Low |
7 |
Scope: 34 subcommands, 307 flags, docs/src/content/docs/setup/cli.md
π΄ High Severity
H1 β --skip-secret sole --skip-* flag; all 12 peers use --no-* (gh aw add-wizard)
CLI: --skip-secret Skip the API secret prompt...
Fix: rename to --no-secret
H2 β --disable-security-scanner and --disable-release-bump violate --no-* convention (add, deploy, update, trial)
These are boolean suppress flags identical in spirit to --no-gitattributes, --no-stop-after, etc.
Fix: rename to --no-security-scanner and --no-release-bump
H3 β audit --artifacts default wrong in docs
Docs (line 500): (default: \usage`)β CLI:(default: all) logsdefaults tousage; auditdefaults toall. Docs appear to have copy-pasted the wrong default. Fix: update docs to (default: `all`)foraudit`
H4 β logs --report-file flag missing from docs
CLI: --report-file string Write --format markdown output directly to this file path...
Not listed in docs options (line 469). Fix: add to docs.
H5 β outcomes history subcommand entirely undocumented
CLI: gh aw outcomes history with flags --limit int, --source string
The docs outcomes section (lines 536β547) mentions only the parent command.
Fix: add outcomes history subsection to docs.
π‘ Medium Severity
11 medium findings
M1 β mcp add docs show wrong syntax (missing workflow argument)
Docs: gh aw mcp add <server> β CLI usage: gh aw mcp add [workflow] [server]
With one arg, it parses as workflow, not server. Fix: gh aw mcp add <workflow> <server>
M2 β add subcommand description omits local file support
Main help: "...from repositories or local files" β add --help: "...from repositories"
Fix: add "or local files" to add description.
M3 β --no-firewall / --no-staged overload --no-* as filter operators in logs
All other --no-* flags mean "suppress a behavior." Here they mean "filter results."
Fix: rename to --without-firewall and --exclude-staged.
M4 β --dry-run descriptions diverge between sibling commands
run: "Validate workflow without actually triggering execution on GitHub Actions"
trial: "Show what would be done without making any changes"
Fix: standardize phrasing.
M5 β --force has different semantics across commands
add/deploy: overwrite files; compile: overwrite dependabot.yml only; update: force even if no changes.
Fix: align descriptions, consider --force-update for update.
M6 β --logical-repo descriptions inconsistent (compile vs trial)
compile adds odd (for trial mode) parenthetical and omits the default.
Fix: use the fuller trial description for both.
M7 β --timeout structure inconsistent (logs, trial, forecast)
Three different description formats; zero-disable phrasing differs (0 = no timeout vs 0 disables timeout).
Fix: standardize to "<Context> timeout in minutes (default N; 0 = no timeout)".
M8 β health docs mention "token usage, costs" not in CLI description
Docs (line 564) list these; CLI help omits them.
Fix: align or verify the feature exists.
M9 β audit docs show wrong output path
Docs (line 502): logs/run-{id}/ β Actual default: .github/aw/logs/run-{id}/
Fix: update docs.
M10 β Root --version flag absent from docs Global Options table
gh aw --version works but is not listed in the Global Options table (lines 111β117).
M11 β add-wizard missing 5 flags that add has
Missing: --append, --create-pull-request, --disable-security-scanner, --force, --name
add missing: --skip-secret
Fix: add missing flags or document the intentional subset.
π’ Low Severity
7 low findings
L1 β Examples/Usage ordering: 6 commands embed Examples before Usage
new, compile, run, remove, disable, enable β all others follow standard cobra order.
L2 β version description inconsistency
Main help: "Print the current version" β version --help: "Show the installed version of the gh aw extension."
L3 β --days constraint notation inconsistent (forecast vs health)
forecast: (allowed values: 7, 30) β health: (7, 30, or 90)
L4 β --stdin "instead of..." clause differs (logs vs audit)
logs: "...instead of discovering runs via the GitHub API"
audit: "...instead of positional arguments"
L5 β --no-merge name misleads
Actual behavior is "override local with upstream," not just "don't merge."
Consider --force-upstream or --override-local.
L6 β --cache-before sole flag description ending with a period (306 others do not)
L7 β secrets bootstrap short aliases missing from docs options list
CLI has -e, --engine and -r, --repo; docs list only the long forms.
Inspection Metadata
| Item |
Value |
| Date |
2026-06-22 |
| Commands inspected |
34 subcommands + root |
| Total flags analyzed |
307 |
| Docs file |
docs/src/content/docs/setup/cli.md |
| Workflow run |
27962283169 |
Generated by β
CLI Consistency Checker Β· 391.7 AIC Β· β 11.4 AIC Β· β 4.2K Β· β·
Summary
CLI inspection on 2026-06-22 found 23 issues across help text, flag naming, and docs.
Scope: 34 subcommands, 307 flags,
docs/src/content/docs/setup/cli.mdπ΄ High Severity
H1 β
--skip-secretsole--skip-*flag; all 12 peers use--no-*(gh aw add-wizard)H2 β
--disable-security-scannerand--disable-release-bumpviolate--no-*convention (add,deploy,update,trial)H3 β
audit --artifactsdefault wrong in docsH4 β
logs --report-fileflag missing from docsH5 β
outcomes historysubcommand entirely undocumentedπ‘ Medium Severity
11 medium findings
M1 β
mcp adddocs show wrong syntax (missing workflow argument)M2 β
addsubcommand description omits local file supportM3 β
--no-firewall/--no-stagedoverload--no-*as filter operators inlogsM4 β
--dry-rundescriptions diverge between sibling commandsM5 β
--forcehas different semantics across commandsM6 β
--logical-repodescriptions inconsistent (compilevstrial)M7 β
--timeoutstructure inconsistent (logs,trial,forecast)M8 β
healthdocs mention "token usage, costs" not in CLI descriptionM9 β
auditdocs show wrong output pathM10 β Root
--versionflag absent from docs Global Options tableM11 β
add-wizardmissing 5 flags thataddhasπ’ Low Severity
7 low findings
L1 β Examples/Usage ordering: 6 commands embed Examples before Usage
L2 β
versiondescription inconsistencyL3 β
--daysconstraint notation inconsistent (forecastvshealth)L4 β
--stdin"instead of..." clause differs (logsvsaudit)L5 β
--no-mergename misleadsL6 β
--cache-beforesole flag description ending with a period (306 others do not)L7 β
secrets bootstrapshort aliases missing from docs options listInspection Metadata
docs/src/content/docs/setup/cli.md