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

filter: Statementstmt 0.0% 0 / 15 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 22 CC 2 SCAR 12.8
CC
2
Cov
0%
run
6.0
BEGIN
2.0
BEGIN
2.0
CRAP 3.6
1 package JiftyX::Fixtures::Script::Help;
2 our $VERSION = '0.07';
3  
4 # ABSTRACT: help subcommands
5  
6 use warnings;
7 use strict;
8  
9 use base qw(
10 App::CLI::Command::Help
11 );
12  
13 sub run {
14 my $self = shift;
15  
16 if ($self->{config}->{fixtures}) {
17 $self->SUPER(@_);
18 } else {
19 print $self->{config}->{app_root} . " is not existed. Please run `jiftyx-fixtures init`\n";
20 }
21  
22 }
23  
24  
25  
26 1;
27  
28 __END__