line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# ============================================================================ |
2
|
|
|
|
|
|
|
package MooseX::App::Plugin::BashCompletion::Meta::Class; |
3
|
|
|
|
|
|
|
# ============================================================================ |
4
|
|
|
|
|
|
|
|
5
|
4
|
|
|
4
|
|
6600
|
use 5.010; |
|
4
|
|
|
|
|
16
|
|
6
|
4
|
|
|
4
|
|
24
|
use utf8; |
|
4
|
|
|
|
|
9
|
|
|
4
|
|
|
|
|
37
|
|
7
|
|
|
|
|
|
|
|
8
|
4
|
|
|
4
|
|
113
|
use namespace::autoclean; |
|
4
|
|
|
|
|
10
|
|
|
4
|
|
|
|
|
27
|
|
9
|
4
|
|
|
4
|
|
399
|
use Moose::Role; |
|
4
|
|
|
|
|
9
|
|
|
4
|
|
|
|
|
35
|
|
10
|
|
|
|
|
|
|
|
11
|
4
|
|
|
4
|
|
24819
|
use MooseX::App::Plugin::BashCompletion::Command; |
|
4
|
|
|
|
|
17
|
|
|
4
|
|
|
|
|
642
|
|
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; |