]>
Dogcows Code - chaz/git-codeowners/blob - lib/App/Codeowners/Formatter/Table.pm
1 package App
::Codeowners
::Formatter
::Table
;
2 # ABSTRACT: Format codeowners output as a table
6 This is a L<App::Codeowners::Formatter> that formats output using L<Text::Table::Any>.
13 our $VERSION = '9999.999'; # VERSION
15 use parent
'App::Codeowners::Formatter';
17 use App
::Codeowners
::Util
qw(stringify);
23 eval { require Text
::Table
::Any
} or die "Missing dependency: Text::Table::Any\n";
25 my $table = Text
::Table
::Any
::table
(
27 rows
=> [$self->columns, map { [map { stringify
($_) } @$_] } @$results],
28 backend
=> $ENV{PERL_TEXT_TABLE
},
30 print { $self->handle } $table;
This page took 0.032211 seconds and 4 git commands to generate.