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

Please respect NODE_DISABLE_COLORS #28

Closed
jonassmedegaard opened this issue Dec 26, 2011 · 1 comment
Closed

Please respect NODE_DISABLE_COLORS #28

jonassmedegaard opened this issue Dec 26, 2011 · 1 comment

Comments

@jonassmedegaard
Copy link

Hi,

Node (at least version 0.4.12 that I use right now) documents in its man page an environment variable NODE_DISABLE_COLORS.

Please respect that variable - both as alternative to no_color for the status module, and at other places where currently ANSI colors are hardcoded.

My specific need for this is in my packaging buddycloud-server officially for Debian where I want to autogenerate a man page from the output of --help option. Buddycloud-server uses node-hsconfig which in turn uses node-cli - which spew ANSI colors that messes up non-console capture of that --help output.

@chriso
Copy link
Contributor

chriso commented Dec 31, 2011

I've added this to 0.4.0. Let me know if you have any trouble.

@chriso chriso closed this as completed Dec 31, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants