From 33bdd3a9caef5e60ed820248f49ca6719c6a35eb Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 13 Mar 2026 14:27:25 +0000 Subject: [PATCH 1/2] Initial plan From f4c9291104d099fb67770e10f15dd5a8d3366fb8 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 13 Mar 2026 14:35:59 +0000 Subject: [PATCH 2/2] fix: address 4 CLI help text consistency issues (#cli-consistency) Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --- cmd/gh-aw/main.go | 8 ++++---- pkg/cli/add_wizard_command.go | 2 +- pkg/cli/init_command.go | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/cmd/gh-aw/main.go b/cmd/gh-aw/main.go index 73118cde258..60220eb8b0c 100644 --- a/cmd/gh-aw/main.go +++ b/cmd/gh-aw/main.go @@ -192,7 +192,7 @@ var enableCmd = &cobra.Command{ ` + cli.WorkflowIDExplanation + ` Examples: - ` + string(constants.CLIExtensionPrefix) + ` enable # Enable all workflows + ` + string(constants.CLIExtensionPrefix) + ` enable # Enable all workflows ` + string(constants.CLIExtensionPrefix) + ` enable ci-doctor # Enable specific workflow ` + string(constants.CLIExtensionPrefix) + ` enable ci-doctor.md # Enable specific workflow (alternative format) ` + string(constants.CLIExtensionPrefix) + ` enable ci-doctor daily # Enable multiple workflows @@ -211,7 +211,7 @@ Any in-progress runs will be cancelled before disabling. ` + cli.WorkflowIDExplanation + ` Examples: - ` + string(constants.CLIExtensionPrefix) + ` disable # Disable all workflows + ` + string(constants.CLIExtensionPrefix) + ` disable # Disable all workflows ` + string(constants.CLIExtensionPrefix) + ` disable ci-doctor # Disable specific workflow ` + string(constants.CLIExtensionPrefix) + ` disable ci-doctor.md # Disable specific workflow (alternative format) ` + string(constants.CLIExtensionPrefix) + ` disable ci-doctor daily # Disable multiple workflows @@ -364,8 +364,8 @@ Examples: gh aw run daily-perf-improver.md # Alternative format gh aw run daily-perf-improver --ref main # Run on specific branch gh aw run daily-perf-improver --repeat 3 # Run 4 times total (1 initial + 3 repeats) - gh aw run daily-perf-improver --enable-if-needed # Enable if disabled, run, then restore state - gh aw run daily-perf-improver --auto-merge-prs # Auto-merge any PRs created during execution + gh aw run daily-perf-improver --enable-if-needed # Enable if disabled, run, then restore state + gh aw run daily-perf-improver --auto-merge-prs # Auto-merge any PRs created during execution gh aw run daily-perf-improver -F name=value -F env=prod # Pass workflow inputs gh aw run daily-perf-improver --push # Commit and push workflow files before running gh aw run daily-perf-improver --dry-run # Validate without actually running diff --git a/pkg/cli/add_wizard_command.go b/pkg/cli/add_wizard_command.go index 9b93707e5f2..8f02b12d1e3 100644 --- a/pkg/cli/add_wizard_command.go +++ b/pkg/cli/add_wizard_command.go @@ -16,7 +16,7 @@ var addWizardLog = logger.New("cli:add_wizard_command") func NewAddWizardCommand(validateEngine func(string) error) *cobra.Command { cmd := &cobra.Command{ Use: "add-wizard ...", - Short: "Interactively add an agentic workflow with guided setup", + Short: "Interactively add one or more agentic workflows with guided setup", Long: `Interactively add one or more workflows with guided setup. This command walks you through: diff --git a/pkg/cli/init_command.go b/pkg/cli/init_command.go index 23e3e25804e..d1eab2ec7f2 100644 --- a/pkg/cli/init_command.go +++ b/pkg/cli/init_command.go @@ -14,7 +14,7 @@ var initCommandLog = logger.New("cli:init_command") func NewInitCommand() *cobra.Command { cmd := &cobra.Command{ Use: "init", - Short: "Initialize repository for agentic workflows", + Short: "Initialize the repository for agentic workflows", Long: `Initialize the repository for agentic workflows by configuring .gitattributes and creating the dispatcher agent file. Interactive Mode (default):