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   3066 use strict;
  5         12  
  5         126  
2 5     5   21 use warnings;
  5         11  
  5         223  
3              
4             package Footprintless::App::Command::deployment;
5             $Footprintless::App::Command::deployment::VERSION = '1.29';
6             # ABSTRACT: Performs an action on a deployment.
7             # PODNAME: Footprintless::App::Command::deployment
8              
9 5     5   371 use parent qw(Footprintless::App::ActionCommand);
  5         265  
  5         34  
10              
11             sub _actions {
12             return (
13 2     2   17 '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 12 return "fpl deployment DEPLOYMENT_COORD ACTION %o";
24             }
25              
26             1;
27              
28             __END__