Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for NO_COLOR. #3273

Merged
merged 2 commits into from May 28, 2019

Conversation

Projects
None yet
2 participants
@djl
Copy link
Member

commented May 28, 2019

This commit adds support for the NO_COLOR environment variable.

I was looking for a way to temporarily disable colors while piping the output of beet mbsync -p to a file. Rather than implement this as a top-level --no-color option, it was much easier to just add support for NO_COLOR.

djl added some commits May 28, 2019

@sampsyo

This comment has been minimized.

Copy link
Member

commented May 28, 2019

Awesome. I applaud the effort to make this a standard thing across lots of tools.

@sampsyo sampsyo merged commit 5d5fc09 into master May 28, 2019

4 checks passed

continuous-integration/appveyor/branch AppVeyor build succeeded
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.