CASCM-CLI
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
lib/CASCM/CLI.pm view on Meta::CPAN
our $VERSION = '0.1.1';
#######################
# RUNNER
#######################
sub run {
my ( $self, @args ) = @_;
# Initialize
$self->_init();
local @ARGV = ();
# Parse main arguments
my $main_options = {};
GetOptionsFromArray( \@args, $main_options, $self->_main_opt_spec() )
or $self->_print_bad_opts();
# Get Subcommand
my $subcmd = shift @args;
if ( $subcmd and ( $subcmd !~ m{^[a-z]+$}xi ) ) {
$self->_print_bad_subcmd($subcmd);
view all matches for this distributionview release on metacpan - search on metacpan
( run in 0.543 second using v1.00-cache-2.02-grep-82fe00e-cpan-da92000dfeb )