The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

App::GitFind::cmdline - Command-line parser for git-find

SYNOPSIS

Generate the .pm file:

    yapp -m App::GitFind::cmdline -o lib/App/GitFind/cmdline.pm support/cmdline.yp

And then:

    use App::GitFind::cmdline;
    App::GitFind::cmdline::Parse(\@ARGV);

For debugging output, define $SHOW_AST before the use statement:

    BEGIN { $App::GitFind::cmdline::SHOW_AST = 1; }

FUNCTIONS

Parse

Parse arguments. Usage:

    my $hrArgs = App::GitFind::cmdline::Parse(\@ARGV);

Modifies the @ARGV array.

AUTHOR

Christopher White <cxw@cpan.org>

COPYRIGHT

MIT