Riji
view release on metacpan or search on metacpan
lib/Riji/CLI.pm view on Meta::CPAN
use warnings;
use IPC::Cmd ();
use Getopt::Long ();
use Plack::Util ();
use String::CamelCase ();
sub run {
my ($self, @args) = @_;
local @ARGV = @args;
my @commands;
my $p = Getopt::Long::Parser->new(
config => [ "no_ignore_case", "pass_through" ],
);
$p->getoptions(
"h|help" => sub { unshift @commands, 'help' },
'version!' => \my $version,
);
if ($version) {
require Riji;
( run in 0.601 second using v1.01-cache-2.11-cpan-49f99fa48dc )