-
|
Some CLIs have a lot of arguments/options, e.g. In my particular case, I do not have that many options, but I have a few that are essential, which will be interesting to most users, and the the rest (3/4) will only be used in very special cases. Thus to de-clutter the help a bit, and make the CLI more user-friendly, I would like users to find the essential options first, so they do not have to scan through all the options with their eyes. I though of visually grouping the options, but it seems like Is there a way, or how else would you handle this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
Some parsers mix validation and visual groups while we keep them as separate concepts. What you are looking for is https://docs.rs/clap/latest/clap/struct.Arg.html#method.help_heading |
Beta Was this translation helpful? Give feedback.
Some parsers mix validation and visual groups while we keep them as separate concepts. What you are looking for is https://docs.rs/clap/latest/clap/struct.Arg.html#method.help_heading