Skip to content

[cli-consistency] Inconsistent argument notation in pr transfer command #5607

@github-actions

Description

@github-actions

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 argument
  • mcp-gateway (mcp-server.json) - required argument
  • run (workflow-id)... - required argument
  • status [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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions