blib/lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Auto.pm untested

filter: Statementstmt 0.0% 0 / 35 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 10 Podpod n/a totaltotal 0.0% 0 / 47 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 # -*- coding: utf-8 -*-
2 # Copyright (C) 2011,2014 Rocky Bernstein <rocky@cpan.org>
3 use warnings; no warnings 'redefine'; no warnings 'once';
4 use rlib '../../../../..';
5 use strict;
6 use vars qw(@ISA @SUBCMD_VARS);
7  
8 package Devel::Trepan::CmdProcessor::Command::Show::Auto;
9  
10 use Devel::Trepan::CmdProcessor::Command::Subcmd::Core;
11 use Devel::Trepan::CmdProcessor::Command::Subcmd::SubsubMgr;
12 use vars qw(@ISA @SUBCMD_VARS);
13 our $MIN_ABBREV = length('au');
14 =pod
15  
16 =head2 Synopsis:
17  
18 =cut
19 our $HELP = <<"EOH";
20 =pod
21  
22 B<show auto> [I<show-auto sub-commmand> ...]
23  
24 Show controls for things with some sort of "automatic" default behavior.
25  
26 =head2 See also:
27  
28 L<C<set auto>|Devel::Trepan::CmdProcessor::Command::Set::auto>
29 =cut
30 EOH
31  
32 our $SHORT_HELP =
33 'Show "automatic" default behavior controls';
34  
35 @ISA = qw(Devel::Trepan::CmdProcessor::Command::SubsubcmdMgr);
36  
37  
38 # sub run($$)
39 # {
40 # my ($self, $args) = @_;
41 # $self->SUPER;
42 # }
43  
44 unless (caller) {
45 # Demo it.
46 require Devel::Trepan;
47 # require_relative '../../mock'
48 # dbgr, parent_cmd = MockDebugger::setup('set', false);
49 # $cmd = __PACKAGE__->new(dbgr.core.processor,
50 # parent_cmd);
51 # $cmd->run(($cmd->prefix ('string', '30'));
52  
53 # for my $prefix qw(s lis foo) {
54 # p [prefix, cmd.complete(prefix)];
55 # }
56 }
57  
58 1;