fatih / color

Color package for Go (golang)
https://pkg.go.dev/github.com/fatih/color
MIT License
7.3k stars 615 forks source link

Add `NO_COLOR` support to disable color output #137

Closed fatih closed 3 years ago

fatih commented 3 years ago

This PR adds support for the environment variable NO_COLOR. If set (regardless of its value), the colors package disables color output. For more information about this environment variable, please check out this website: https://no-color.org

closes: https://github.com/fatih/color/issues/136

bl-ue commented 3 years ago

Wow, huge mess 😝