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.45.tar.gz 0000008868 8.66 KB
cpanspec.yml 0000000669 669 Bytes
perl-App-CLI.changes 0000003377 3.3 KB
perl-App-CLI.spec 0000002286 2.23 KB
Latest Revision
Ismail Dönmez's avatar Ismail Dönmez (namtrac) committed (revision 3)
osc copypac from project:openSUSE:Leap:15.1 package:perl-App-CLI revision:10
Comments 0
openSUSE Build Service is sponsored by