CXC-Form-Tiny-Plugin-OptArgs2

 view release on metacpan or  search on metacpan

t/OptArgs.t  view on Meta::CPAN

        comment  => 'Query on the command line',
        isa_name => 'ADQL',
    );

    form_field 'url' => (
        type    => Str,
        default => sub { 'https://cda.cfa.harvard.edu/csc2tap' },
    );

    option(
        comment      => 'CSC TAP endpoint',
        isa_name     => 'URL',
        show_default => 1,
    );

    form_field 'output.file' => ( type => Path, coerce => 1 );
    option(
        name     => 'output',
        comment  => 'File to store parsed results',
        isa_name => 'filename',
    );

t/nested.t  view on Meta::CPAN

        isa_name => 'ADQL',
    );

    form_field 'url' => (
        type    => Str,
        default => sub { 'https://cda.cfa.harvard.edu/csc2tap' },
    );

    option(
        isa          => 'Str',
        comment      => 'CSC TAP endpoint',
        isa_name     => 'URL',
        show_default => 1,
    );

    form_field 'output.file' => ( type => Str, );
    option(
        name     => 'output',
        isa      => 'Str',
        comment  => 'File to store parsed results',
        isa_name => 'filename',



( run in 0.256 second using v1.01-cache-2.11-cpan-b61123c0432 )