Compare commits

...
Author SHA1 Message Date
Florian BRUNIAUX eacb9bc077 fix(help): add missing Options: heading in root help template
{options} in a custom Clap template renders flag entries without a
section heading — unlike the default template which injects it
automatically. Subcommands used the default template so showed
"Options:" while rtk --help didn't. Add the heading explicitly.

Signed-off-by: Florian BRUNIAUX <florian@bruniaux.com>
2026-04-13 14:16:47 +02:00
Florian BRUNIAUXandClaude Sonnet 4.6 fe61162c6a fix(help): sort Options alphabetically in all help outputs
- Add `next_display_order = None` to `Cli` struct so global options
  (-h, --skip-env, -u, -v, -V) appear alphabetically sorted in all
  help outputs (root and subcommands)
- Add `#[command(next_display_order = None)]` to every non-external
  variant in all Subcommand enums (Commands, GitCommands, CargoCommands,
  and 11 other enums) — 115 variants total
- Remove stale `// added` comments on Gain's `--project` flag

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Florian BRUNIAUX <florian@bruniaux.com>
2026-04-13 11:20:48 +02:00
Florian BRUNIAUXandClaude Sonnet 4.6 3b194f0d3a feat(help): reorganize rtk --help with 9 grouped sections
Reorganize the flat 60-command list into readable sections:
- RTK meta commands first (cc-economics through verify)
- 8 alphabetical tool sections: Analysis, Build & Lint, Cloud & Infrastructure,
  Files & Search, Frameworks, Git & GitHub, Package Managers, Test
- Unicode separator (─────) between RTK block and tool sections
- Commands sorted alphabetically within each section
- Sync test: help_template_covers_all_commands() prevents template/enum drift

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Florian Bruniaux <florian@bruniaux.com>
Signed-off-by: Florian BRUNIAUX <florian@bruniaux.com>
2026-04-13 11:19:02 +02:00
+755 -526
View File
File diff suppressed because it is too large. Load diff