line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# ============================================================================ |
2
|
|
|
|
|
|
|
package MooseX::App::Role::Common; |
3
|
|
|
|
|
|
|
# ============================================================================ |
4
|
|
|
|
|
|
|
|
5
|
14
|
|
|
14
|
|
11437
|
use 5.010; |
|
14
|
|
|
|
|
40
|
|
6
|
14
|
|
|
14
|
|
64
|
use utf8; |
|
14
|
|
|
|
|
20
|
|
|
14
|
|
|
|
|
89
|
|
7
|
|
|
|
|
|
|
|
8
|
14
|
|
|
14
|
|
313
|
use namespace::autoclean; |
|
14
|
|
|
|
|
42
|
|
|
14
|
|
|
|
|
87
|
|
9
|
14
|
|
|
14
|
|
892
|
use Moose::Role; |
|
14
|
|
|
|
|
27
|
|
|
14
|
|
|
|
|
89
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
has extra_argv => ( |
12
|
|
|
|
|
|
|
is => 'rw', |
13
|
|
|
|
|
|
|
isa => 'ArrayRef', |
14
|
|
|
|
|
|
|
); |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
has 'help_flag' => ( |
17
|
|
|
|
|
|
|
is => 'ro', |
18
|
|
|
|
|
|
|
isa => 'Bool', |
19
|
|
|
|
|
|
|
traits => ['MooseX::App::Meta::Role::Attribute::Option'], |
20
|
|
|
|
|
|
|
cmd_flag => 'help', |
21
|
|
|
|
|
|
|
cmd_aliases => [ qw(h usage ?) ], # LOCALIZE |
22
|
|
|
|
|
|
|
cmd_type => 'proto', |
23
|
|
|
|
|
|
|
cmd_position => 99999, |
24
|
|
|
|
|
|
|
documentation => 'Prints this usage information.', # LOCALIZE |
25
|
|
|
|
|
|
|
); |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
1; |