chriso/cli — Issue #28: Please respect NODE_DISABLE_COLORS
Author: jonassmedegaard
Created: 2011-12-26 04:55:10+00:00
State: open

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.