Allow custom ordering of args and subcommands in help message #442
Labels
A-help
Area: documentation, including docs.rs, readme, examples, etc...
C-enhancement
Category: Raise on the bar on expectations
I'm imagining adding something like a
display_order
(or whatever it gets called) method which sets the display order. Items with the same order will be listed alphabetically and the default will be something like 999 so the custom orders appear first and have a low probability for being accidentally mixed in with defaults. This would also allow some overlap so that maintenance should be low.This should help when there are arguments or subcommands you'd like to highlight or that are most frequently used and you don't want to overwrite the entire help message by hand.
Such as something like is discussed in multirust-rs
The text was updated successfully, but these errors were encountered: