Prophet
view release on metacpan or search on metacpan
lib/Prophet/CLI/Command/Shell.pm view on Meta::CPAN
require Term::ReadLine;
my $term = Term::ReadLine->new("Prophet shell");
$term->Attribs->{completion_function} = sub {
$weakself->_complete(@_);
};
return $term;
},
);
our $HIST = $ENV{PROPHET_HISTFILE}
|| ( ( $ENV{HOME} || ( getpwuid($<) )[7] ) . "/.prophetreplhist" );
our $LEN = $ENV{PROPHET_HISTLEN} || 500;
sub usage_msg {
my $self = shift;
my $cmd = $self->cli->get_script_name;
return <<"END_USAGE";
usage: ${cmd}\[shell]
END_USAGE
}
( run in 0.323 second using v1.01-cache-2.11-cpan-8d75d55dd25 )