Skip to content

fix: correct --yes verb, --dir env hint, and add-wizard docs across 9 commands#44050

Open
pelikhan with Copilot wants to merge 2 commits into
mainfrom
copilot/cli-consistency-issues-resolution
Open

fix: correct --yes verb, --dir env hint, and add-wizard docs across 9 commands#44050
pelikhan with Copilot wants to merge 2 commits into
mainfrom
copilot/cli-consistency-issues-resolution

Conversation

Copilot AI commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Three CLI consistency issues found by automated inspection: wrong verb in --yes flag descriptions for update/upgrade, $GH_AW_WORKFLOWS_DIR silently omitted from --dir help text in 9 commands, and two flags missing from the add-wizard docs section.

Changes

--yes flag verb mismatch (update_command.go, upgrade_command.go)

Both commands copied the deploy description verbatim and said "create confirmations".

  • update: → "Auto-accept org-mode update confirmations"
  • upgrade: → "Auto-accept org-mode upgrade confirmations"

--dir flag missing env var hint (9 commands)

GetWorkflowDir() reads $GH_AW_WORKFLOWS_DIR for all commands, but only lint and list surfaced this in help text. Updated the remaining 9 to match:

-d, --dir string   Workflow directory (default: $GH_AW_WORKFLOWS_DIR or .github/workflows)

Affected: compile, remove (cmd/gh-aw/main.go), validate, fix, add, add-wizard, deploy, update, upgrade.

add-wizard docs missing two flags (docs/src/content/docs/setup/cli.md)

--append and --no-security-scanner exist in the CLI but were absent from the Options table. Added both to match the add command's documented options.

…add-wizard docs

- Fix --yes flag: update_command uses 'update', upgrade_command uses 'upgrade'
- Fix --dir flag: add $GH_AW_WORKFLOWS_DIR to descriptions in compile, remove (main.go),
  validate, fix, add, add-wizard, deploy, update, upgrade commands
- Update add-wizard docs to include --append and --no-security-scanner options"

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix CLI consistency issues identified in inspection fix: correct --yes verb, --dir env hint, and add-wizard docs across 9 commands Jul 7, 2026
Copilot AI requested a review from pelikhan July 7, 2026 14:50
@pelikhan pelikhan marked this pull request as ready for review July 7, 2026 16:53
Copilot AI review requested due to automatic review settings July 7, 2026 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[cli-consistency] CLI Consistency Issues - 2026-07-07

2 participants