]>
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
8 our $VERSION = '0.50'; # VERSION
10 use parent
'App::Codeowners::Formatter';
12 use App
::Codeowners
::Util
qw(stringify);
18 eval { require Text
::Table
::Any
} or die "Missing dependency: Text::Table::Any\n";
20 my $table = Text
::Table
::Any
::table
(
22 rows
=> [$self->columns, map { [map { stringify
($_) } @$_] } @$results],
23 backend
=> $ENV{PERL_TEXT_TABLE
},
25 print { $self->handle } $table;
38 App::Codeowners::Formatter::Table - Format codeowners output as a table
46 This is a L<App::Codeowners::Formatter> that formats output using L<Text::Table::Any>.
50 Please report any bugs or feature requests on the bugtracker website
51 L<https://github.com/chazmcgarvey/git-codeowners/issues>
53 When submitting a bug or request, please include a test-file or a
54 patch to an existing test-file that illustrates the bug or desired
59 Charles McGarvey <chazmcgarvey@brokenzipper.com>
61 =head1 COPYRIGHT AND LICENSE
63 This software is copyright (c) 2021 by Charles McGarvey.
65 This is free software; you can redistribute it and/or modify it under
66 the same terms as the Perl 5 programming language system itself.
This page took 0.035606 seconds and 4 git commands to generate.