]>
Dogcows Code - chaz/git-codeowners/blob - lib/App/Codeowners/Formatter/YAML.pm
590ad79f0b5d111021f1eb7ed8fd87e221687094
1 package App
::Codeowners
::Formatter
::YAML
;
2 # ABSTRACT: Format codeowners output as YAML
8 our $VERSION = '0.50'; # VERSION
10 use parent
'App::Codeowners::Formatter';
12 use App
::Codeowners
::Util
qw(zip);
18 eval { require YAML
} or die "Missing dependency: YAML\n";
20 my $columns = $self->columns;
21 $results = [map { +{zip
@$columns, @$_} } @$results];
22 print { $self->handle } YAML
::Dump
($results);
35 App::Codeowners::Formatter::YAML - Format codeowners output as YAML
43 This is a L<App::Codeowners::Formatter> that formats output using L<YAML>.
47 Please report any bugs or feature requests on the bugtracker website
48 L<https://github.com/chazmcgarvey/git-codeowners/issues>
50 When submitting a bug or request, please include a test-file or a
51 patch to an existing test-file that illustrates the bug or desired
56 Charles McGarvey <chazmcgarvey@brokenzipper.com>
58 =head1 COPYRIGHT AND LICENSE
60 This software is copyright (c) 2021 by Charles McGarvey.
62 This is free software; you can redistribute it and/or modify it under
63 the same terms as the Perl 5 programming language system itself.
This page took 0.035831 seconds and 4 git commands to generate.