App-GenPericmdScript
view release on metacpan or search on metacpan
script/gen-pericmd-script view on Meta::CPAN
This document describes version 0.230 of gen-pericmd-script (from Perl distribution App-GenPericmdScript), released on 2020-04-30.
=head1 SYNOPSIS
Create a Perinci::CmdLine script:
% gen-pericmd-script /App/MyApp/myfunc > mycli
Some more options (turn on debugging, output to file, overwrite existing output,
will automatically chmod +x the file and run L<shcompgen> if it's available on
the system and output dir is in PATH, pick Perinci::CmdLine::Any backend):
% gen-pericmd-script --debug \
-o /path/to/mycli --overwrite \
--cmdline Perinci::CmdLine::Classic \
/App/MyApp/myfunc
With subcommands:
% gen-pericmd-script /App/MyApp/ \
( run in 0.365 second using v1.01-cache-2.11-cpan-496ff517765 )