Skip to content

Add rfl::cli::UsageOptions for runtime help customization - #51

Closed
clockblocker wants to merge 1 commit into
cli-groupfrom
cli-usage-options
Closed

clockblocker wants to merge 1 commit into
cli-groupfrom
cli-usage-options

Conversation

@clockblocker

@clockblocker clockblocker commented Nov 26, 2026 •

Copy link
Copy Markdown
Owner

Adds rfl::cli::UsageOptions (folding #57 cli-usage-options-polish into #51) for runtime help customization in rfl::cli::usage and rfl::cli::read_app:

  • header: optional pre-Usage banner
  • synopsis, description, footer: custom synopsis, intro, and epilogue text
  • help_group: places built-in --help / --version into a named rfl::Group
  • max_option_width (default 40): wraps very wide options onto the next line instead of widening every row
  • hidden_groups: omits named groups from detailed help output at runtime

Stacked on cli-group (#50). Verified with ASan + UBSan across all CLI tests.

… footer, help_group, max_option_width, and hidden_groups
@clockblocker clockblocker changed the title Add rfl::cli::UsageOptions for runtime synopsis, description, footer, and help_group Add rfl::cli::UsageOptions for runtime help customization Nov 27, 2026
@clockblocker

Copy link
Copy Markdown
Owner Author

Branch is preserved on fork and showcase/all-lanes (d0f1fca1) as a reference artifact and parked in #117 (Moonshots & Possible Scope Creep).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant