Dispatcher module for command line interface programs

Edit Package perl-App-CLI

'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]

Refresh
Refresh
Source Files
Filename Size Changed
App-CLI-0.08.tar.bz2 0000022186 21.7 KB
perl-App-CLI.changes 0000001142 1.12 KB
perl-App-CLI.spec 0000002026 1.98 KB
Revision 14 (latest revision is 30)
Lars Vogdt's avatar Lars Vogdt (lrupp) accepted request 54464 from Stephan Kulow's avatar Stephan Kulow (coolo) (revision 14)
Accepted submit request 54464 from user coolo
Comments 0
openSUSE Build Service is sponsored by