dmonad / lib0

Monorepo of isomorphic utility functions
MIT License
363 stars 65 forks source link

support and honor NO_COLOR env variable #91

Closed Loki-Afro closed 3 months ago

Loki-Afro commented 3 months ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] NO_COLOR is de-facto standard and it frustrates me when some libs, tools wahtever don't support it

Describe the solution you'd like A clear and concise description of what you want to happen. honor NO_COLOR=true

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered. none

see also https://no-color.org/

dmonad commented 3 months ago

There's already the --no-colors parameter that disables colors. But if there's a website for NO_COLOR, then I have to honor it. This is implemented in the latest release.