jlogsdon/php-cli-tools — pull request #11 by goldenapples (2012-09-14 16:56:19+00:00)
Title: Add isPiped() method to \cli\Table

Adds a method to `\cli\Table` to check whether output is being displayed
in terminal or is being piped to another command or redirect. If output
is being piped, table should be output as tab-separated text rather than
with ASCII borders.

This is the same output behavior that other unix commands such as `mysql`
use to determine whether to output a graphical table or tab-delimited text.