Usage:
In a command's configure() method, add the --format option:
Table::addFormatOption($this->getDefinition());
In a command's execute() method, build and display the table:
$table = new Table($input, $output);
$header = ['Column 1', 'Column 2', 'Column 3'];
$rows = [
['Cell 1', 'Cell 2', 'Cell 3'],
['Cell 4', 'Cell 5', 'Cell 6'],
];
$table->render($rows, $header);