Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Respect color environment variables if set #813

Merged
merged 1 commit into from
Feb 17, 2022
Merged

Respect color environment variables if set #813

merged 1 commit into from
Feb 17, 2022

Commits on Feb 14, 2022

  1. Respect color environment variables if set

    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 <browne@vmware.com>
    ericwb committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    22875a0 View commit details
    Browse the repository at this point in the history