CLI-Osprey
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
lib/CLI/Osprey/Role.pm view on Meta::CPAN
);
has 'invoked_as' => (
is => 'ro',
);
sub new_with_options {
my ($class, %params) = @_;
my %config = $class->_osprey_config;
local @ARGV = @ARGV if $config{protect_argv};
if (!defined $params{invoked_as}) {
$params{invoked_as} = Getopt::Long::Descriptive::prog_name();
}
my ($parsed_params, $usage) = $class->parse_options(%params);
if ($parsed_params->{h}) {
return $class->osprey_usage(1, $usage);
} elsif ($parsed_params->{help}) {
view all matches for this distributionview release on metacpan - search on metacpan
( run in 0.659 second using v1.00-cache-2.02-grep-82fe00e-cpan-da92000dfeb )