Common-CLI

 view release on metacpan or  search on metacpan

t/01-basic.t  view on Meta::CPAN


plan tests => 9;

package My::Application;

use base 'Common::CLI';

package main;

{
    local @ARGV = qw( --help );

    my $app = My::Application->new(
        profile => {
            'optional' => [
                [ 'help', 'Display this help' ],
            ],
        },
    );

    {

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 0.870 second using v1.00-cache-2.02-grep-82fe00e-cpan-c9a218a2bbc )