feat: project runner commands can show their own detailed --help#1860
Merged
hatayama merged 1 commit intoJul 20, 2026
Conversation
The dispatcher's --help for runner-owned commands (await-pause-point, pause-point-status, list, sync, focus-window) is currently a hardcoded options table in the dispatcher, which drifts from the runner's actual flags and forces a dispatcher release whenever a runner-owned command gains a flag. This adds command-specific help directly in the project runner so a later change can forward --help requests here instead, keeping the flag list and its help output defined in the same binary.
Contributor
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughAdds native-command-specific help for ChangesNative command help
Estimated code review effort: 2 (Simple) | ~10 minutes Sequence Diagram(s)sequenceDiagram
participant CLI
participant RunProjectLocal
participant NativeCommandHelp
CLI->>RunProjectLocal: request command help
RunProjectLocal->>NativeCommandHelp: tryPrintNativeCommandHelp
NativeCommandHelp-->>CLI: print usage and options
RunProjectLocal-->>CLI: return exit code 0
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
hatayama
merged commit Jul 20, 2026
1b69722
into
feature/remove-completion-help-forwarding-integration
2 checks passed
This was referenced Jul 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
await-pause-point,pause-point-status,list,sync,focus-window) now have their--helpflag list defined and rendered from the project runner binary itself.User Impact
--helpoutput for these commands comes from a hardcoded options table that can drift out of sync with the pinned runner version, and requires a dispatcher code change (and release) whenever a runner-owned command gains a flag.--helpfor these commands to the runner instead of the dispatcher's static table, keeping the flag list and its help text defined in one place.Changes
native_command_help.goincli/project-runner: a per-command option table and formatter matching the dispatcher's existing help layout (Usage, description, Options, Global options).RunProjectLocal's--helphandling to print this command-specific help for runner-owned commands, falling back to the existing minimal runner usage otherwise.Verification
bash scripts/check-go-cli.shpassed (fmt/vet/lint/tests/binary rebuild), exit code 0.await-pause-point --help/pause-point-status --help, and thatlist/sync/focus-window --helpshow only the global--project-pathoption with no command-specific Options section.