blib/lib/CLI/Framework/Command/Dump.pm untested

filter: Statementstmt 0.0% 0 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 26 CC 1 SCAR 6.9
CC
1
Cov
0%
usage_text
2.0
run
2.0
BEGIN
2.0
CRAP 2.0
1 package CLI::Framework::Command::Dump;
2 use base qw( CLI::Framework::Command::Meta );
3  
4 use strict;
5 use warnings;
6  
7 use Data::Dumper;
8  
9 our $VERSION = 0.01;
10  
11 #-------
12  
13 sub usage_text {
14 q{
15 dump: print a dump of the application object using Data::Dumper
16 }
17 }
18  
19 sub run {
20 my ($self, $opts, @args) = @_;
21  
22 my $result = Dumper($self->get_app()) . "\n";
23 return $result;
24 }
25  
26 #-------
27 1;
28  
29 __END__