-
Notifications
You must be signed in to change notification settings - Fork 317
fix: address CLI consistency issues - redundant flags, unexplained jargon, and doc discrepancies #23750
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: address CLI consistency issues - redundant flags, unexplained jargon, and doc discrepancies #23750
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -187,7 +187,7 @@ Trial results are saved both locally (in trials/ directory) and in the host repo | |
| cmd.Flags().Bool("force-delete-host-repo-before", false, "Force delete the host repository before creation if it already exists") | ||
| cmd.Flags().BoolP("yes", "y", false, "Skip confirmation prompts") | ||
| cmd.Flags().Bool("dry-run", false, "Show what would be done without making any changes") | ||
| cmd.Flags().Int("timeout", 30, "Execution timeout in minutes") | ||
| cmd.Flags().Int("timeout", 30, "Execution timeout in minutes (e.g., 30 for 30 minutes)") | ||
| cmd.Flags().String("trigger-context", "", "Trigger context URL (e.g., GitHub issue URL) for issue-triggered workflows") | ||
|
Comment on lines
188
to
191
|
||
| cmd.Flags().Int("repeat", 0, "Number of additional times to run after the initial execution (e.g., --repeat 3 runs 4 times total)") | ||
| cmd.Flags().Bool("auto-merge-prs", false, "Auto-merge any pull requests created during trial execution") | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
removecommand’s matching logic uses a case-insensitive substring match on workflow ID/name (strings.Contains), not a prefix-only pattern. The docs currently state “prefix pattern” and the example implies starts-with behavior; please adjust the wording/example to reflect substring matching (or update the implementation to enforce prefix matching).See below for a potential fix: