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   2686 use strict;
  5         13  
  5         138  
2 5     5   27 use warnings;
  5         9  
  5         238  
3              
4             package Footprintless::App::Command::deployment;
5             $Footprintless::App::Command::deployment::VERSION = '1.26';
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         320  
  5         28  
10              
11             sub _actions {
12             return (
13 2     2   11 '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__