Open
fix: correct --yes verb, --dir env hint, and add-wizard docs across 9 commands#44050
Conversation
…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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Three CLI consistency issues found by automated inspection: wrong verb in
--yesflag descriptions forupdate/upgrade,$GH_AW_WORKFLOWS_DIRsilently omitted from--dirhelp text in 9 commands, and two flags missing from theadd-wizarddocs section.Changes
--yesflag verb mismatch (update_command.go,upgrade_command.go)Both commands copied the
deploydescription verbatim and said"create confirmations".update: →"Auto-accept org-mode update confirmations"upgrade: →"Auto-accept org-mode upgrade confirmations"--dirflag missing env var hint (9 commands)GetWorkflowDir()reads$GH_AW_WORKFLOWS_DIRfor all commands, but onlylintandlistsurfaced this in help text. Updated the remaining 9 to match:Affected:
compile,remove(cmd/gh-aw/main.go),validate,fix,add,add-wizard,deploy,update,upgrade.add-wizarddocs missing two flags (docs/src/content/docs/setup/cli.md)--appendand--no-security-scannerexist in the CLI but were absent from the Options table. Added both to match theaddcommand's documented options.