public static function table(array $rows, array $headers = [])
    {
        $table = new Table();
        $table->setRows($rows);
        if (count($headers) > 0) {
            $table->setHeaders($headers);
        }
        $output = $table->render();
        self::writeln($output);
    }