-
Notifications
You must be signed in to change notification settings - Fork 32
Closed
Labels
automationclidocumentationImprovements or additions to documentationImprovements or additions to documentationgood first issueGood for newcomersGood for newcomers
Description
Issue Description
The gh aw pr transfer command uses inconsistent argument notation compared to all other CLI commands.
Current Behavior
File: pkg/cli/pr_command.go (line 61)
Use: "transfer PULL-REQUEST-URL",
Short: "Transfer a pull request to another repository",The command uses PULL-REQUEST-URL (all uppercase, no brackets) for its required argument.
Expected Behavior
The command should follow the same conventions as other CLI commands:
Use: "transfer (pull-request-url)",Examples of Correct Patterns in Codebase
Other commands correctly use angle brackets <> for required arguments (all lowercase):
audit (run-id-or-url)- required argumentmcp-gateway (mcp-server.json)- required argumentrun (workflow-id)...- required argumentstatus [pattern]- optional argument (square brackets)
Impact
This is a cosmetic issue that creates minor inconsistency in the CLI help output. Users may be confused by the different notation style.
Suggested Fix
Update line 61 in pkg/cli/pr_command.go:
- Use: "transfer PULL-REQUEST-URL",
+ Use: "transfer (pull-request-url)",Priority
Low - This is a documentation/consistency issue that doesn't affect functionality.
AI generated by CLI Consistency Checker
Copilot
Metadata
Metadata
Assignees
Labels
automationclidocumentationImprovements or additions to documentationImprovements or additions to documentationgood first issueGood for newcomersGood for newcomers