feat(docs): add recursive help - #1132
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Central YAML (base), Organization UI (inherited) Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
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 |
14b7159 to
6b13bf9
Compare
Instruction counts
1 benchmark(s) above the 1% gate: Only instruction counts gate. Wall clock is shown for context — on identical hardware it moves 4-20% run to run. Measured by tak — instruction-counted CLI benchmarks, stored in this repository's git notes. Shadow comparisonParsing
|
6b13bf9 to
aee5c3e
Compare
aee5c3e to
4d7221a
Compare
51dda75 to
2bc54a9
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 2bc54a9. Configure here.
4562f2c to
d3e1548
Compare
d3e1548 to
bef1d69
Compare
bef1d69 to
664e62c
Compare
664e62c to
efc419b
Compare
6e4cd61 to
efc419b
Compare
efc419b to
481d902
Compare
0951778 to
b1d249d
Compare
b1d249d to
b5c8945
Compare
482f211 to
b5c8945
Compare
b5c8945 to
fc1fc5a
Compare
fc1fc5a to
30e73fa
Compare
30e73fa to
dd01e54
Compare
9586cff to
d0323d6
Compare
d0323d6 to
862c8a3
Compare
862c8a3 to
6f29854
Compare
6f29854 to
482cf99
Compare

Summary
HelpAllflag action for typed Rust, KDL, usage-lib, and generated GoValidation
cargo test -p usage-conformance --test help_request --all-featurescargo test -p usage-argv --all-featurescargo test -p usage-lib --all-featurescargo clippy --workspace --all-features --all-targets -- -D warningscd go && go test ./...This PR was generated by Codex.
Note
Medium Risk
Touches parser error variants, help rendering, derive codegen, and Go generation in parallel, so a mismatch in walk order or hidden-command filtering would show up as user-facing help. Behavior is additive and covered by conformance and Go tests.
Overview
Adds a portable
ArgAction::HelpAll(action="help_all") that prints long help for the selected command and every visible descendant, in depth-firstdisplay_orderthen name order. Hidden subcommands are skipped; a nested request starts at that command and does not prepend ancestor pages.The action is wired through typed Rust (
Error::HelpAll,render_all/render_all_at), KDL, usage-lib, generated Go (AllHelp,Error.All), the derive/parse()print-and-exit path, and usage-cli. Docs and the PLAN recursive-help item are updated to match.Reviewed by Cursor Bugbot for commit 482cf99. Bugbot is set up for automated code reviews on this repo. Configure here.