NAME
CLI::Simple::Modulino - Create CLI wrapper around a modulino
SYNOPSIS
# create my-app in the default installation directory
create-modulino -m My::App
# create /usr/local/bin/my-app
create-modulino -i /usr/local/bin -m My::App
# create /usr/local/bin app
create-modulino -a app -i /usr/local/bin -m My::App
Options
-h, --help help
-a, --alias wrapper name (default: lowercase module name with :: replaced by -)
-m, --module module name - Perl module implementing the modulino
-i, --installbindir executable directory
Example:
create-modulino -i /usr/local/bin -a find-requires -m Module::ScanDeps::FindRequires
DESCRIPTION
Creates a so called wrapper for a so-called "modulino". Modulinos are Perl modules that use the pattern:
caller or exit __PACKAGE__->main
...to flexibly use a Perl module as a script.
See CLI::Simple for more information about modulinos.
AUTHOR
Rob Lauer - <rlauer@treasurersbriefcase.com>