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

filter: Statementstmt 0.0% 0 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 23 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::Console;
2 use base qw( CLI::Framework::Command::Meta );
3  
4 use strict;
5 use warnings;
6  
7 our $VERSION = 0.01;
8  
9 #-------
10  
11 sub usage_text {
12 q{
13 console: invoke interactive command console
14 }
15 }
16  
17 sub run {
18 my ($self, $opts, @args) = @_;
19  
20 my $app = $self->get_app(); # metacommand is app-aware
21  
22 $app->run_interactive();
23  
24 return;
25 }
26  
27 #-------
28 1;
29  
30 __END__