Amon2-CLI
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
t/03_cli_opt.t view on Meta::CPAN
use FindBin;
use File::Spec;
use lib File::Spec->catdir($FindBin::Bin, 'lib');
use Test::More;
use Test::Output;
use Amon2::CLI 'MyApp';
{
local @ARGV = ('--option' => 'bar!');
Test::Output::stdout_is {
MyApp->bootstrap->run('Bar');
} 'bar!', 'cli options';
}
done_testing;
view all matches for this distributionview release on metacpan - search on metacpan
( run in 0.958 second using v1.00-cache-2.02-grep-82fe00e-cpan-c9a218a2bbc )