You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Automated CLI consistency inspection of gh aw ran on 2026-06-10. 9 issues found across CLI help text and documentation (docs/src/content/docs/setup/cli.md).
Severity
Count
medium
3
low
6
Total commands inspected: 30+ (all top-level commands and key subcommands)
Category: Docs Missing CLI Flags (medium)
2 flags present in CLI help but absent from docs options list
1. forecast --timeout — missing from docs options list
Affected command:gh aw forecast
Docs file:docs/src/content/docs/setup/cli.md line 592
CLI output:
--timeout int Gracefully stop forecast computation after this many minutes (0 disables timeout)
CLI examples include: gh aw forecast --timeout 10 # Stop gracefully after 10 minutes
Docs options list (line 592):`--days`, `--period`, `--sample`, `--eval`, `--repo/-r`, `--json/-j`
Expected:--timeout should be added to the options list
Priority: medium
2. compile --gh-aw-ref — missing from docs options list
Affected command:gh aw compile
Docs file:docs/src/content/docs/setup/cli.md line 294
CLI output:
--gh-aw-ref string Compile workflows to reference github/gh-aw at the given branch, tag, or SHA
(e.g. main, my-feature, abc123). Convenience alias for --action-mode release
--action-tag <ref>.
Docs options list (line 294): does not include --gh-aw-ref
Expected:--gh-aw-ref should be added to the compile options list
Priority: medium
Category: Incorrect Inline Comment in Docs (medium)
3. gh aw mcp add (no-arg) — misleading inline comment
Affected command:gh aw mcp add
Docs file:docs/src/content/docs/setup/cli.md line 726
Docs (current):
gh aw mcp add # Add MCP tool to workflow
CLI help (actual behavior):
gh aw mcp add # List available MCP servers
CLI description: "When called with no arguments, it will show a list of available MCP servers from the registry."
Expected: comment should read # List available MCP servers (not # Add MCP tool to workflow)
Priority: medium
Category: Terminology Inconsistencies (low)
3 inconsistencies in how concepts are named across main help, detailed help, and docs
4. forecast description — "token usage" vs "AI Credit (AIC)"
Affected command:gh aw forecast
Docs intro (line 578):"Forecast token usage and costs for agentic workflows..."
CLI detailed help first line:"[EXPERIMENTAL] Forecast AI Credit (AIC) usage for agentic workflows"
Issue: Docs use "token usage" terminology while CLI uses "AI Credit (AIC)". These should be aligned.
Priority: low
5. (experimental) vs [EXPERIMENTAL] formatting
Affected command:gh aw forecast
CLI main listing:forecast Forecast AI Credit usage and costs for agentic workflows (experimental)
CLI detailed help:[EXPERIMENTAL] Forecast AI Credit (AIC) usage for agentic workflows
Docs:#### `forecast` `[EXPERIMENTAL]`
Issue: Main CLI listing uses lowercase (experimental) in parentheses; detailed help and docs consistently use uppercase [EXPERIMENTAL] in brackets.
Priority: low
6. forecast short description — "and costs" mismatch
Affected command:gh aw forecast
CLI main listing:"Forecast AI Credit usage and costs for agentic workflows (experimental)"
CLI detailed help first line:"[EXPERIMENTAL] Forecast AI Credit (AIC) usage for agentic workflows"
Issue: Main listing says "usage and costs" but detailed help says just "usage" — the "and costs" phrase is dropped.
Priority: low
Category: CLI Description Abbreviated vs Docs (low)
2 commands have shorter descriptions in CLI than in docs
7. env get short description — missing context
Affected command:gh aw env get
CLI help:"Download defaults into a YAML file"
Docs:"Download default compiler variables into a YAML file"
Issue: CLI omits "compiler" context, making it less clear what "defaults" refers to.
Priority: low
8. env update short description — missing context
Affected command:gh aw env update
CLI help:"Upload defaults from a YAML file"
Docs:"Upload default compiler variables from a YAML file"
Issue: Same as above — CLI omits "compiler" context.
Priority: low
Category: Documentation Style (low)
9. Inconsistent flag shorthand notation in docs options lists
Affected commands: multiple
Issue: Some commands document short flag forms consistently (`--dir/-d`, `--engine/-e`) while others omit the short form (e.g., update options list shows --engine and --dir without -e/-d). This is inconsistent across the docs.
Summary
Automated CLI consistency inspection of
gh awran on 2026-06-10. 9 issues found across CLI help text and documentation (docs/src/content/docs/setup/cli.md).Total commands inspected: 30+ (all top-level commands and key subcommands)
Category: Docs Missing CLI Flags (medium)
2 flags present in CLI help but absent from docs options list
1.
forecast --timeout— missing from docs options listgh aw forecastdocs/src/content/docs/setup/cli.mdline 592gh aw forecast --timeout 10 # Stop gracefully after 10 minutes`--days`, `--period`, `--sample`, `--eval`, `--repo/-r`, `--json/-j`--timeoutshould be added to the options list2.
compile --gh-aw-ref— missing from docs options listgh aw compiledocs/src/content/docs/setup/cli.mdline 294--gh-aw-ref--gh-aw-refshould be added to the compile options listCategory: Incorrect Inline Comment in Docs (medium)
3.
gh aw mcp add(no-arg) — misleading inline commentgh aw mcp adddocs/src/content/docs/setup/cli.mdline 726gh aw mcp add # Add MCP tool to workflowgh aw mcp add # List available MCP servers# List available MCP servers(not# Add MCP tool to workflow)Category: Terminology Inconsistencies (low)
3 inconsistencies in how concepts are named across main help, detailed help, and docs
4.
forecastdescription — "token usage" vs "AI Credit (AIC)"gh aw forecast"Forecast token usage and costs for agentic workflows...""[EXPERIMENTAL] Forecast AI Credit (AIC) usage for agentic workflows"5.
(experimental)vs[EXPERIMENTAL]formattinggh aw forecastforecast Forecast AI Credit usage and costs for agentic workflows (experimental)[EXPERIMENTAL] Forecast AI Credit (AIC) usage for agentic workflows#### `forecast` `[EXPERIMENTAL]`(experimental)in parentheses; detailed help and docs consistently use uppercase[EXPERIMENTAL]in brackets.6.
forecastshort description — "and costs" mismatchgh aw forecast"Forecast AI Credit usage and costs for agentic workflows (experimental)""[EXPERIMENTAL] Forecast AI Credit (AIC) usage for agentic workflows"Category: CLI Description Abbreviated vs Docs (low)
2 commands have shorter descriptions in CLI than in docs
7.
env getshort description — missing contextgh aw env get"Download defaults into a YAML file""Download default compiler variables into a YAML file"8.
env updateshort description — missing contextgh aw env update"Upload defaults from a YAML file""Upload default compiler variables from a YAML file"Category: Documentation Style (low)
9. Inconsistent flag shorthand notation in docs options lists
`--dir/-d`, `--engine/-e`) while others omit the short form (e.g.,updateoptions list shows--engineand--dirwithout-e/-d). This is inconsistent across the docs.initoptions:`--engine/-e`✓compileoptions:`--dir/-d`, `--engine/-e`✓updateoptions:`--engine`, `--dir`(missing-e/-d)Inspection Metadata
add,add-wizard,deploy,env,init,new,remove,secrets,update,upgrade,compile,domains,fix,lint,mcp,validate,disable,enable,run,trial,audit,checks,forecast,health,list,logs,status,completion,hash-frontmatter,mcp-server,pr,project,outcomes,version+ key subcommandsgh aw <cmd> --help) compared againstdocs/src/content/docs/setup/cli.md