diff --git a/cmd/gh-aw/main.go b/cmd/gh-aw/main.go index 500007af209..eaa32c92ff6 100644 --- a/cmd/gh-aw/main.go +++ b/cmd/gh-aw/main.go @@ -233,7 +233,7 @@ Examples: var compileCmd = &cobra.Command{ Use: "compile [workflow]...", Short: "Compile agentic workflow Markdown files into GitHub Actions YAML", - Long: `Compile one or more agentic workflows to YAML workflows. + Long: `Compile one or more agentic workflow Markdown files into GitHub Actions YAML. If no workflows are specified, all Markdown files in .github/workflows will be compiled. @@ -727,7 +727,7 @@ Use "` + string(constants.CLIExtensionPrefix) + ` help all" to show help for all runCmd.Flags().Bool("enable-if-needed", false, "Enable the workflow before running if needed, and restore state afterward") runCmd.Flags().StringP("engine", "e", "", "Override AI engine (claude, codex, copilot, custom)") runCmd.Flags().StringP("repo", "r", "", "Target repository ([HOST/]owner/repo format). Defaults to current repository") - runCmd.Flags().String("ref", "", "Branch or tag name to run the workflow on (default: current branch)") + runCmd.Flags().String("ref", "", "Branch or tag name to run the workflow on (e.g., main, v1.0.0)") runCmd.Flags().Bool("auto-merge-prs", false, "Auto-merge any pull requests created during the workflow execution") runCmd.Flags().StringArrayP("raw-field", "F", []string{}, "Add a string parameter in key=value format (can be used multiple times)") runCmd.Flags().Bool("push", false, "Commit and push workflow files (including transitive imports) before running") diff --git a/pkg/cli/logs_command.go b/pkg/cli/logs_command.go index 4dd7634783d..5b7dcd7393f 100644 --- a/pkg/cli/logs_command.go +++ b/pkg/cli/logs_command.go @@ -73,7 +73,7 @@ Examples: ` + string(constants.CLIExtensionPrefix) + ` logs --safe-output create-issue # Filter logs with create-issue messages ` + string(constants.CLIExtensionPrefix) + ` logs --ref main # Filter logs by branch or tag ` + string(constants.CLIExtensionPrefix) + ` logs --ref feature-xyz # Filter logs by feature branch - ` + string(constants.CLIExtensionPrefix) + ` logs --filtered-integrity # Filter logs with DIFC (data integrity flow control) integrity-filtered items in gateway logs + ` + string(constants.CLIExtensionPrefix) + ` logs --filtered-integrity # Filter logs with DIFC (data integrity flow control) integrity-filtered items in the gateway logs # Run ID range filtering ` + string(constants.CLIExtensionPrefix) + ` logs --after-run-id 1000 # Filter runs after run ID 1000 @@ -209,7 +209,7 @@ Examples: logsCmd.Flags().Int("timeout", 0, "Download timeout in minutes (0 = no timeout)") logsCmd.Flags().String("summary-file", "summary.json", "Path to write the summary JSON file relative to output directory (use empty string to disable)") logsCmd.Flags().Bool("train", false, "Train Drain3 (log template mining) weights from downloaded runs and write drain3_weights.json to the output directory") - logsCmd.Flags().String("format", "", "Output format for cross-run audit report: markdown, pretty (generates security audit report instead of default metrics table)") + logsCmd.Flags().String("format", "", "Output format for cross-run audit report: pretty, markdown (generates security audit report instead of default metrics table)") logsCmd.Flags().Int("last", 0, "Alias for --count: number of recent runs to download") logsCmd.Flags().StringSlice("artifacts", nil, "Artifact sets to download (default: all). Valid sets: "+strings.Join(ValidArtifactSetNames(), ", ")) logsCmd.MarkFlagsMutuallyExclusive("firewall", "no-firewall") diff --git a/pkg/cli/project_command.go b/pkg/cli/project_command.go index 6a17efa20da..9c551c72309 100644 --- a/pkg/cli/project_command.go +++ b/pkg/cli/project_command.go @@ -42,6 +42,9 @@ pull requests, and tasks across repositories. This command allows you to create new projects owned by users or organizations and optionally link them to specific repositories. +Available subcommands: + • new - Create a new GitHub Project V2 board + Examples: gh aw project new "My Project" --owner @me # Create user project gh aw project new "Team Board" --owner myorg # Create org project diff --git a/pkg/cli/status.go b/pkg/cli/status.go index 85949276325..c518e62b6a5 100644 --- a/pkg/cli/status.go +++ b/pkg/cli/status.go @@ -18,8 +18,8 @@ and time remaining until expiration (if stop-after is configured). The optional pattern argument filters workflows by name (case-insensitive substring match). Examples: - ` + string(constants.CLIExtensionPrefix) + ` status # Show all workflow status - ` + string(constants.CLIExtensionPrefix) + ` status ci- # Show workflows with 'ci-' in name + ` + string(constants.CLIExtensionPrefix) + ` status # Show all workflow status + ` + string(constants.CLIExtensionPrefix) + ` status ci- # Show workflows with 'ci-' in name ` + string(constants.CLIExtensionPrefix) + ` status --json # Output in JSON format ` + string(constants.CLIExtensionPrefix) + ` status --ref main # Show latest run status for main branch ` + string(constants.CLIExtensionPrefix) + ` status --label automation # Show workflows with 'automation' label