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.07.tar.gz 0000026901 26.3 KB
noautoinstall.diff 0000000303 303 Bytes
perl-App-CLI.changes 0000000496 496 Bytes
perl-App-CLI.spec 0000002047 2 KB
ready 0000000000 0 Bytes
Revision 6 (latest revision is 30)
autobuild's avatar autobuild committed (revision 6)
Copy from devel:languages:perl/perl-App-CLI based on submit request 28915 from user coolo
Comments 0
openSUSE Build Service is sponsored by