File Coverage

blib/lib/Footprintless/App/Command/deployment.pm
Criterion Covered Total %
statement 11 12 91.6
branch n/a
condition n/a
subroutine 5 6 83.3
pod 1 1 100.0
total 17 19 89.4


line stmt bran cond sub pod time code
1 5     5   2760 use strict;
  5         10  
  5         119  
2 5     5   19 use warnings;
  5         10  
  5         204  
3              
4             package Footprintless::App::Command::deployment;
5             $Footprintless::App::Command::deployment::VERSION = '1.28';
6             # ABSTRACT: Performs an action on a deployment.
7             # PODNAME: Footprintless::App::Command::deployment
8              
9 5     5   339 use parent qw(Footprintless::App::ActionCommand);
  5         226  
  5         26  
10              
11             sub _actions {
12             return (
13 2     2   18 'clean' => 'Footprintless::App::Command::deployment::clean',
14             'deploy' => 'Footprintless::App::Command::deployment::deploy'
15             );
16             }
17              
18             sub _default_action {
19 0     0   0 return 'deploy';
20             }
21              
22             sub usage_desc {
23 2     2 1 15 return "fpl deployment DEPLOYMENT_COORD ACTION %o";
24             }
25              
26             1;
27              
28             __END__