1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
|
package CLI::Framework::Command::Console;
use base qw( CLI::Framework::Command::Meta );
use strict;
use warnings;
our $VERSION = 0.01;
#-------
sub usage_text {
q{
console: invoke interactive command console
}
}
sub run {
my ($self, $opts, @args) = @_;
my $app = $self->get_app(); # metacommand is app-aware
$app->run_interactive();
return;
}
#-------
1;
__END__
=pod
=head1 NAME
CLI::Framework::Command::Console - CLIF built-in command supporting
interactive mode
=head1 SEE ALSO
L<run_interactive|CLI::Framework::Application/run_interactive( [%param] )>
L<CLI::Framework::Command::Menu>
L<CLI::Framework::Command>
=cut
|