NAME

Perinci::CLI - Run Perinci::CmdLine app as one-liner

VERSION

This document describes version 0.02 of Perinci::CLI (from Perl distribution Perinci-CLI), released on 2015-09-03.

SYNOPSIS

% perl -MPerinci::CLI=/URL/To/Your/Function

which is a shortcut for:

use Perinci::CmdLine::Any -prefer_lite=>1;
Perinci::CmdLine::Any->new(url => '/URL/To/Your/Function')->run;

To specify options/arguments to your CLI:

% perl -MPerinci::CLI=/URL/To/Your/Function -E1 -- --opt1 val arg

DESCRIPTION

SEE ALSO

Perinci::CmdLine::Any

HOMEPAGE

Please visit the project's homepage at https://metacpan.org/release/Perinci-CLI.

SOURCE

Source repository is at https://github.com/perlancar/perl-Perinci-CLI.

BUGS

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

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) 2015 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.