NAME

Bencher::ScenarioUtil::Completion - Utility routines for bash-completion-related Bencher scenarios

VERSION

This document describes version 0.02 of Bencher::ScenarioUtil::Completion (from Perl distribution Bencher-ScenarioUtil-Completion), released on 2016-01-07.

FUNCTIONS

make_completion_participant(%args) -> hash

Create a participant specification to benchmark bash completion.

This function is not exported by default, but exportable.

Arguments ('*' denotes required arguments):

  • cmdline* => str

    Command, with ^ put to mark cursor position.

  • description => str

    Participant description.

  • name* => str

    Participant name.

  • summary => str

    Participant summary.

  • tags => array[str]

    Participant tags.

Return value: (hash)

HOMEPAGE

Please visit the project's homepage at https://metacpan.org/release/Bencher-ScenarioUtil-Completion.

SOURCE

Source repository is at https://github.com/perlancar/perl-Bencher-ScenarioUtil-Completion.

BUGS

Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Bencher-ScenarioUtil-Completion

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

AUTHOR

perlancar <perlancar@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2016 by perlancar@cpan.org.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.