feature: Add support for `NO_COLOR` env var
See original GitHub issueLatest spec:
- Parse a
NO_COLOR
env var per instructions at https://no-color.org - Optionally, also accept
--no-color
at the CLI. - Pass this setting to logging configs.
- Pass this setting to
click
. - Disable or remove color from
rich
exception logging, as needed.
Notes:
- This is not to be a feature flag or a Meltano setting, and therefor will not be able to be set using
meltano config
. - This should have the equivalent affect as customizing
logging.yaml
. (Bug fixes incolor=false
implementation should solve for both methods of setting.)
Issue Analytics
- State:
- Created a year ago
- Reactions:2
- Comments:10 (3 by maintainers)
Top Results From Across the Web
Support NO_COLOR environment variable · Issue #74 - GitHub
So that all CLIs based on this library (would make a lot) becomes directly compatible with no-color manifesto, how about adding support for ......
Read more >NO_COLOR: disabling ANSI color output in various Unix ...
Software Description Date/Version Supported
alogview Android logcat Filter 2018‑10‑31
Ammonite Scala Scripting 2017‑07‑03 / 1.0.0
Ansible IT automation system 2021‑04‑26 / 2.11.0
Read more >Environment Variables | Pulumi CLI
A list of different environment variables the Pulumi CLI supports. ... Set this environment variable to authenticate into the Pulumi Service backend and ......
Read more >no_color - crates.io: Rust Package Registry
no_color is a rust library for detecting if the NO_COLOR environment variable is set. About. From no-color.org: An increasing number of command- ...
Read more >Command: plan | Terraform - HashiCorp Developer
Note: In Terraform v0.15 and earlier, the -destroy option is supported only by the ... apply when setting input variables using environment variables....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
https://meltano.slack.com/archives/C01TCRBBJD7/p1662065425046529?thread_ts=1661961091.406679&cid=C01TCRBBJD7
As @pandemicsyn discussed today in a chat:
Precedence and config methods, the ways of settings are:
--no-color
)NO_COLOR
)We still have work to do on no-color compliance:
structlog
(already applies the the requested color true/false from calling function)Click
and our pre-formatted/explicitly-colored print statements that go throughClick
click
context: https://click.palletsprojects.com/en/8.1.x/api/?highlight=color#click.Context.colorWe are estimating
4
as size, adding to Engineering Assignments.cc @tayloramurphy