Change --engine short flag from -a to -e across all commands#3759
Merged
Conversation
- Change short flag from -a to -e in compile, run, add, update, and trial commands - Standardize description to "Override AI engine (claude, codex, copilot, custom)" across all commands - The -e flag is more intuitive as it relates to "engine" - This is a breaking change for users using the -a flag Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix inconsistent short flag for CLI engine override
Change --engine short flag from -a to -e across all commands
Nov 12, 2025
pelikhan
approved these changes
Nov 12, 2025
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR standardizes the --engine flag across all CLI commands by changing its short form from the non-intuitive -a to the more logical -e, and ensures consistent description text across all commands.
Key Changes
- Changed short flag from
-ato-efor the--engineflag in 5 commands (compile, run, add, update, trial) - Standardized flag description to "Override AI engine (claude, codex, copilot, custom)" across all commands
- This is a breaking change requiring users to migrate from
-ato-eor use the long form--engine
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| cmd/gh-aw/main.go | Updated --engine short flag from -a to -e for both compile and run commands; standardized descriptions to include "custom" option |
| pkg/cli/add_command.go | Updated --engine short flag from -a to -e in add command |
| pkg/cli/update_command.go | Updated --engine short flag from -a to -e and added "custom" to description in update command |
| pkg/cli/trial_command.go | Updated --engine short flag from -a to -e in trial command |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
github-actions Bot
added a commit
that referenced
this pull request
Nov 13, 2025
- Add --json flag documentation to compile command for machine-readable validation output (PR #3799) - Update --engine flag to show new -e short form (changed from -a in PR #3759) - Add example usage of --json flag with compile command 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
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.
The
--engineflag used the non-intuitive short form-aacross compile, run, add, update, and trial commands. Additionally, descriptions were inconsistent—some included "custom" engine option, others omitted it.Changes
-ato-ein all 5 commands (compile, run, add, update, trial)Breaking Change
Users currently using
-awill get:Migration: Use
-eor long form--engineinstead.Files Modified
cmd/gh-aw/main.go- compile, run commandspkg/cli/add_command.go- add commandpkg/cli/update_command.go- update commandpkg/cli/trial_command.go- trial commandOriginal prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.