diff --git a/README.md b/README.md index 91c074a0..d81d5302 100644 --- a/README.md +++ b/README.md @@ -179,8 +179,11 @@ Titles must be unique. ```bash ralphy --github owner/repo ralphy --github owner/repo --github-label "ready" +ralphy --github owner/repo --github-label "task" --github-order 2,3,4,5,6 ``` +Use `--github-order` to execute issues in a specific order. Without it, issues are processed in the order returned by the GitHub API (newest first). The flag takes comma-separated issue numbers — only those issues will be executed, in the exact order specified. + ## Parallel Execution ```bash @@ -300,6 +303,7 @@ ralphy --parallel --sandbox | `--json FILE` | JSON task file | | `--github REPO` | use GitHub issues | | `--github-label TAG` | filter issues by label | +| `--github-order 2,3,4` | execute issues in this order | | `--sync-issue N` | sync PRD progress to GitHub issue #N | | `--model NAME` | override model for any engine | | `--sonnet` | shortcut for `--claude --model sonnet` | diff --git a/cli/src/cli/args.ts b/cli/src/cli/args.ts index beadad1d..0895194c 100644 --- a/cli/src/cli/args.ts +++ b/cli/src/cli/args.ts @@ -49,6 +49,7 @@ export function createProgram(): Command { .option("--json ", "JSON task file") .option("--github ", "GitHub repo for issues (owner/repo)") .option("--github-label