You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
A nicely written standard around command lines is available.. Bandit should strive to conform to these standards where possible.
Provide a support path for feedback and issues. A website or GitHub link in the top-level help text is common.
In help text, link to the web version of the documentation.
In help, Lead with examples.
Display the most common flags and commands at the start of the help text.
Use formatting in your help text.
If the user did something wrong and you can guess what they meant, suggest it.
Display output as formatted JSON if --json is passed.
Disable color if your program is not in a terminal or the user requested it. The NO_COLOR environment variable is set, the TERM environment variable has the value dumb, the user passes the option --no-color. Respect color environment variables if set #813
Use a pager (e.g. less) if you are outputting a lot of text.
Make it effortless to submit bug reports.
Use standard names for flags, if there is a standard.
The text was updated successfully, but these errors were encountered:
According to command line standards [1], a command line should
do its best to honor certain environment variables requesting
whether color should be part of the standard output. Two such
vars include NO_COLOR (if set) and TERM (if set to dumb), when
set tell the CLI to disable color.
[1] https://clig.dev/#output
Partially-fixes#678
Signed-off-by: Eric Brown <[email protected]>
Is your feature request related to a problem? Please describe.
A nicely written standard around command lines is available.. Bandit should strive to conform to these standards where possible.
For more info, see: https://clig.dev/
TODOs:
The text was updated successfully, but these errors were encountered: