CLI::Framework::Command::Console - CLIF built-in command supporting


CLI-Framework documentation Contained in the CLI-Framework distribution.

Index


Code Index:

NAME

Top

CLI::Framework::Command::Console - CLIF built-in command supporting interactive mode

SEE ALSO

Top

run_interactive

CLI::Framework::Command::Menu

CLI::Framework::Command


CLI-Framework documentation Contained in the CLI-Framework distribution.

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__