wp-cli/wp-cli — pull request #170 by scribu (2012-12-23 12:51:55+00:00)
Title: Disable coloring when not in a tty

Currently, wp-cli always outputs color escape codes.

This is messy If the environment it's running in doesn't support them or if the output is piped to another command, like cut or awk.