turn off colors?
See original GitHub issue-
I’m submitting a …
- 🪲 bug report
- 🚀 feature request
- 📚 construct library gap
- ☎️ security issue or vulnerability => Please see policy
- ❓ support request => Please see note at the top of this template.
-
What is the current behavior? When using the CLI (
cdk diff
,cdk deploy
, etc.) the output is colored. Some colors are hard to read on a dark background, especially blue. -
What is the expected behavior (or behavior of feature suggested)? Would like to be able to turn off coloring using an option, and/or select a different coloring scheme. Something like
--color=[ light | dark | none ]
might work. -
What is the motivation / use case for changing the behavior or adding this feature? Usability.
-
Please tell us about your environment:
- CDK CLI Version: 0.35.0
- Module Version: 0.35.0
- OS: all
- Language: all
-
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. associated pull-request, stackoverflow, gitter, etc)
vim’s default color schemes might be good place to quickly check what works. Personally I tend to use “elflord” on machines where I have not customized vim. “ron” is also common I believe.
Issue Analytics
- State:
- Created 4 years ago
- Comments:12 (8 by maintainers)
Top GitHub Comments
I have updated the original post to put it in the format of a feature request, hopefully it’s more understandable now, sorry. Thought I’d check if maybe I missed something first.
closing this issue as we’ve added some documentation around the
--no-color
option with the PR that @nmussy submitted.