line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# ============================================================================ |
2
|
|
|
|
|
|
|
package MooseX::App::Plugin::BashCompletion::Meta::Class; |
3
|
|
|
|
|
|
|
# ============================================================================ |
4
|
|
|
|
|
|
|
|
5
|
4
|
|
|
4
|
|
4860
|
use 5.010; |
|
4
|
|
|
|
|
11
|
|
6
|
4
|
|
|
4
|
|
19
|
use utf8; |
|
4
|
|
|
|
|
5
|
|
|
4
|
|
|
|
|
27
|
|
7
|
|
|
|
|
|
|
|
8
|
4
|
|
|
4
|
|
86
|
use namespace::autoclean; |
|
4
|
|
|
|
|
4
|
|
|
4
|
|
|
|
|
27
|
|
9
|
4
|
|
|
4
|
|
291
|
use Moose::Role; |
|
4
|
|
|
|
|
4
|
|
|
4
|
|
|
|
|
27
|
|
10
|
|
|
|
|
|
|
|
11
|
4
|
|
|
4
|
|
16491
|
use MooseX::App::Plugin::BashCompletion::Command; |
|
4
|
|
|
|
|
13
|
|
|
4
|
|
|
|
|
441
|
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
around '_build_app_commands' => sub { |
14
|
|
|
|
|
|
|
my $orig = shift; |
15
|
|
|
|
|
|
|
my $self = shift; |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
my $return = $self->$orig(@_); |
18
|
|
|
|
|
|
|
$return->{bash_completion} ||= 'MooseX::App::Plugin::BashCompletion::Command'; |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
return $return; |
21
|
|
|
|
|
|
|
}; |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
1; |