Bencher-ScenarioUtil-Completion

 view release on metacpan or  search on metacpan

lib/Bencher/ScenarioUtil/Completion.pm  view on Meta::CPAN

        },
        description => {
            summary => 'Participant description',
            schema => 'str*',
        },
        tags => {
            summary => 'Participant tags',
            schema => ['array*', of=>'str*'],
        },
        cmdline => {
            summary => 'Command, with ^ put to mark cursor position',
            schema => 'str*',
            req => 1,
        },
    },
    result_naked => 1,
    result => {
        schema => 'hash*', # XXX participant specification
    },
};
sub make_completion_participant {

lib/Bencher/ScenarioUtil/Completion.pm  view on Meta::CPAN

Create a participant specification to benchmark bash completion.

This function is not exported by default, but exportable.

Arguments ('*' denotes required arguments):

=over 4

=item * B<cmdline>* => I<str>

Command, with ^ put to mark cursor position.

=item * B<description> => I<str>

Participant description.

=item * B<name>* => I<str>

Participant name.

=item * B<summary> => I<str>



( run in 0.249 second using v1.01-cache-2.11-cpan-4d50c553e7e )