-
-
Notifications
You must be signed in to change notification settings - Fork 607
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Respect color environment variables if set (#813)
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>
- Loading branch information
Showing
2 changed files
with
18 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters