Dispatcher module for command line interface programs
'App::CLI' dispatches CLI (command line interface) based commands into
command classes. It also supports subcommand and per-command options.
get_opt([@config], %opt_map)
give options map, process by Getopt::Long::Parser
interface of dispatcher
cmd_map($cmd)
find package name of subcommand in constant %alias
if it's finded, return ucfirst of the package name,
otherwise, return ucfirst of $cmd itself.
get_cmd($cmd, @arg)
return subcommand of first level via $ARGV[0]
- Sources inherited from project openSUSE:12.2
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:lafenghu/perl-App-CLI && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
App-CLI-0.313.tar.gz | 0000030225 29.5 KB | |
perl-App-CLI.changes | 0000001812 1.77 KB | |
perl-App-CLI.spec | 0000002318 2.26 KB |
Latest Revision
Adrian Schröter (adrianSuSE)
committed
(revision 1)
branched from openSUSE:Factory
Comments 0