blib/lib/App/Pinto/Command/register.pm

filter: Statementstmt 73.3% 11 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 50.0% 3 / 6 Podpod 33.3% 1 / 3 totaltotal 62.5% 15 / 24 CC 1 SCAR 4.1
CC
1
Cov
73%
opt_spec
2.0
args_attribute
2.0
args_from_stdin
2.0
CRAP 1.5
« blib/lib/App/Pinto/Command/pull.pm ↑ Summary blib/lib/App/Pinto/Command/unpin.pm »
1 # ABSTRACT: put existing packages on a stack
2  
3 package App::Pinto::Command::register;
4  
5 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 #------------------------------------------------------------------------------
9  
10 1 ▶use base 'App::Pinto::Command';
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 #------------------------------------------------------------------------------
13  
14 1 our $VERSION = '0.14'; # VERSION
15  
16 #-----------------------------------------------------------------------------
17  
18 0 ▶sub opt_spec {
Subroutine opt_spec: not called CC=1 SCAR=6.9
Pod documented
19 0 my ( $self, $app ) = @_;
20  
21 return (
22 0 [ 'diff-style=s' => 'Set style of diff reports' ],
23 [ 'dry-run' => 'Do not commit any changes' ],
24 [ 'message|m=s' => 'Message to describe the change' ],
25 [ 'pin' => 'Pin packages to the stack' ],
26 [ 'stack|s=s' => 'Remove packages from this stack' ],
27 [ 'use-default-message|M' => 'Use the generated message' ],
28 );
29 }
30  
31 #------------------------------------------------------------------------------
32  
33 0 ▶sub args_attribute { return 'targets' }
Subroutine args_attribute: not called CC=1 SCAR=6.9
Pod undocumented
34  
35 #------------------------------------------------------------------------------
36  
37 0 ▶sub args_from_stdin { return 1 }
Subroutine args_from_stdin: not called CC=1 SCAR=6.9
Pod undocumented
38  
39 #------------------------------------------------------------------------------
40 1 1;
41  
42 __END__
« blib/lib/App/Pinto/Command/pull.pm ↑ Summary blib/lib/App/Pinto/Command/unpin.pm »