blib/lib/JiftyX/Fixtures/Script.pm untested

filter: Statementstmt 0.0% 0 / 21 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 7 Podpod 0.0% 0 / 3 totaltotal 0.0% 0 / 33 CC 2 SCAR 11.0
CC
2
Cov
0%
before_run
6.0
options
2.0
run
2.0
CRAP 3.0
1 package JiftyX::Fixtures::Script;
2 our $VERSION = '0.07';
3  
4 # ABSTRACT: Main script package handling dispatch for subcommands
5  
6 use strict;
7 use warnings;
8  
9 use App::CLI;
10 use base qw(App::CLI App::CLI::Command);
11  
12 sub options {
13 return (
14 'h|help|?' => 'help',
15 'man' => 'man',
16 );
17 }
18  
19 sub before_run {
20 my ($here, $self) = @_;
21  
22 if ($self->{help}) {
23 print "jiftyx-fixtures v$JiftyX::Fixtures::VERSION\n";
24 eval 'print $' . ref($self) . '::help_msg';
25 exit;
26 }
27  
28 }
29  
30 sub run {
31 my ($here, $self) = @_;
32 }
33  
34  
35 1;
36  
37 __END__