USAGE

example.pl [options] command args

A minimal example of using CLI::Simple.

Options

--help, -h        usage
--log-level, -l   logging level (trace, ebug, info, warn, error), default: info
--foo, -f         foo name
--bar, -b         turn bar on/off (use --no-bar for off), default: on

Commands

Commands       Arguments
--------       ---------
help
foo            arg1, arg2
bar            arg1, arg2

Recipes

1. Execute the foo command
perl myscript.pm -l debug foo biz buz
2. Execute the bar commaand
perl myscript.pm bar