File Coverage

blib/lib/Bash/Completion/Plugins/dzil.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
1             ## no critic (RequireUseStrict)
2             package Bash::Completion::Plugins::dzil;
3             {
4             $Bash::Completion::Plugins::dzil::VERSION = '0.02';
5             }
6              
7             ## use critic (RequireUseStrict)
8 1     1   704 use strict;
  1         2  
  1         37  
9 1     1   6 use warnings;
  1         1  
  1         34  
10 1     1   843 use parent 'Bash::Completion::Plugins::App::Cmd';
  1         396  
  1         9  
11              
12             use Bash::Completion::Utils qw(command_in_path);
13              
14             sub should_activate {
15             return [ grep { command_in_path($_) } qw(dzil) ];
16             }
17              
18             sub command_class { 'Dist::Zilla::App' }
19              
20             1;
21              
22              
23              
24             =pod
25              
26             =head1 NAME
27              
28             Bash::Completion::Plugins::dzil - Bash::Completion support for Dist::Zilla
29              
30             =head1 VERSION
31              
32             version 0.02
33              
34             =head1 DESCRIPTION
35              
36             L<Bash::Completion> support for L<Dist::Zilla>.
37              
38             =head1 SEE ALSO
39              
40             L<Bash::Completion>, L<Dist::Zilla>
41              
42             =begin comment
43              
44             =over
45              
46             =item should_activate
47              
48             =item command_class
49              
50             =back
51              
52             =end comment
53              
54             =head1 AUTHOR
55              
56             Rob Hoelz <rob@hoelz.ro>
57              
58             =head1 COPYRIGHT AND LICENSE
59              
60             This software is copyright (c) 2012 by Rob Hoelz.
61              
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.
64              
65             =head1 BUGS
66              
67             Please report any bugs or feature requests on the bugtracker website
68             https://github.com/hoelzro/bash-completion-plugins-dzil/issues
69              
70             When submitting a bug or request, please include a test-file or a
71             patch to an existing test-file that illustrates the bug or desired
72             feature.
73              
74             =cut
75              
76              
77             __END__
78              
79             # ABSTRACT: Bash::Completion support for Dist::Zilla
80