line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# ============================================================================ |
2
|
|
|
|
|
|
|
package MooseX::App::Plugin::BashCompletion::Meta::Class; |
3
|
|
|
|
|
|
|
# ============================================================================ |
4
|
|
|
|
|
|
|
|
5
|
4
|
|
|
4
|
|
6674
|
use 5.010; |
|
4
|
|
|
|
|
17
|
|
6
|
4
|
|
|
4
|
|
25
|
use utf8; |
|
4
|
|
|
|
|
9
|
|
|
4
|
|
|
|
|
34
|
|
7
|
|
|
|
|
|
|
|
8
|
4
|
|
|
4
|
|
119
|
use namespace::autoclean; |
|
4
|
|
|
|
|
10
|
|
|
4
|
|
|
|
|
30
|
|
9
|
4
|
|
|
4
|
|
406
|
use Moose::Role; |
|
4
|
|
|
|
|
10
|
|
|
4
|
|
|
|
|
38
|
|
10
|
|
|
|
|
|
|
|
11
|
4
|
|
|
4
|
|
24709
|
use MooseX::App::Plugin::BashCompletion::Command; |
|
4
|
|
|
|
|
17
|
|
|
4
|
|
|
|
|
562
|
|
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; |