Allow disabling color in CLI output
Opened this issue · 0 comments
ericcornelissen commented
Feature Request
packages/cli, v0.1.7
Description
The CLI currently has colored outputs (e.g. for the % reduction). While useful, sometimes it's desirable to not have color in the output. Whatever the exact reason, this should be supported.
Proposal
Support configurations to prevent the CLI from outputting colored output, including (but not necessarily limited to, suggestions are welcome):
- The
NO_COLOR
environment variable - The
TERM
environment variable has the valuedumb
- The output is not a TTY
- A to-be-added
--no-color
flag is set
References
- https://no-color.org/
- https://clig.dev/ (search for "Use color with intention")