Skip to content
This repository has been archived by the owner on May 9, 2024. It is now read-only.

Allow disabling color in CLI output #256

Open
4 tasks
ericcornelissen opened this issue Jan 31, 2022 · 0 comments
Open
4 tasks

Allow disabling color in CLI output #256

ericcornelissen opened this issue Jan 31, 2022 · 0 comments
Labels
enhancement New feature or request package:cli Relates to packages/cli

Comments

@ericcornelissen
Copy link
Owner

ericcornelissen commented Jan 31, 2022

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 value dumb
  • The output is not a TTY
  • A to-be-added --no-color flag is set

References

@ericcornelissen ericcornelissen added enhancement New feature or request package:cli Relates to packages/cli labels Jan 31, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request package:cli Relates to packages/cli
Projects
None yet
Development

No branches or pull requests

1 participant