blib/lib/App/Pinto/Command/pull.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/pin.pm ↑ Summary blib/lib/App/Pinto/Command/register.pm »
1 # ABSTRACT: pull archives from upstream repositories
2  
3 package App::Pinto::Command::pull;
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 [ 'cascade' => 'Always pick latest upstream package' ],
23 [ 'diff-style=s' => 'Set style of diff reports' ],
24 [ 'dry-run' => 'Do not commit any changes' ],
25 [ 'message|m=s' => 'Message to describe the change' ],
26 [ 'no-fail' => 'Do not fail when there is an error' ],
27 [ 'recurse!' => 'Recursively pull prereqs (negatable)' ],
28 [ 'pin' => 'Pin the packages to the stack' ],
29 [ 'skip-missing-prerequisite|k=s@' => 'Skip missing prereq (repeatable)' ],
30 [ 'skip-all-missing-prerequisites|K' => 'Skip all missing prereqs' ],
31 [ 'stack|s=s' => 'Put packages into this stack' ],
32 [ 'use-default-message|M' => 'Use the generated message' ],
33 [ 'with-development-prerequisites|wd' => 'Also pull prereqs for development' ],
34 );
35 }
36  
37 #------------------------------------------------------------------------------
38  
39 0 ▶sub args_attribute { return 'targets' }
Subroutine args_attribute: not called CC=1 SCAR=6.9
Pod undocumented
40  
41 #------------------------------------------------------------------------------
42  
43 0 ▶sub args_from_stdin { return 1 }
Subroutine args_from_stdin: not called CC=1 SCAR=6.9
Pod undocumented
44  
45 #------------------------------------------------------------------------------
46  
47 1 1;
48  
49 __END__
« blib/lib/App/Pinto/Command/pin.pm ↑ Summary blib/lib/App/Pinto/Command/register.pm »