DisableColoredHelp and less decorated formatting in general from a user side #3780
Closed
2 tasks done
Labels
C-enhancement
Category: Raise on the bar on expectations
Please complete the following tasks
Clap Version
not using one myself
Describe your use case
Some of the existing tools use clap to parse command line options, at some point clap started using fancier formatting: colors and extra empty lines between commands. Colors used by clap look ugly in my terminal color scheme and extra empty lines make it so options that would otherwise fit on a single line easily take 2-3 pages making it harder to use.
Describe the solution you'd like
An environment variable that I can set globally in order to achieve
DisableColoredHelp
-like effects. And ideally a formatting like this, but without colors. #2906 (comment)Bad since it uses 1/5 of the horizontal space which I have plenty and 3x as much vertical space as needed and this causes whole help to take up several pages making it annoying to write a command
Good, uses 3x less vertical space, uses about as much horizontal space as the previous setup, still well within 80 columns
Alternatives, if applicable
NO_COLOR environment variable, setting it globally is not an option since I do want to keep it enabled.
Additional Context
I'm using a slightly modified color scheme and a slightly larger than usual font size.
The text was updated successfully, but these errors were encountered: