chriso/cli — pull request #56 by andreastt (2014-10-17 16:01:46+00:00)
Title: Skip colourisation for dumb terminals

Dumb terminals can only interpret a limited number of control codes,
and colour codes will be written as plain text (garbage) on these
terminals.

This can be tested with making sure the following program only
outputs “ERROR: dumb”:

node -e 'require("./cli.js").error("dumb")'