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]
- Developed at devel:languages:perl
-
1
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Factory/perl-App-CLI && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
App-CLI-0.50.tar.gz | 0000015624 15.3 KB | |
cpanspec.yml | 0000000669 669 Bytes | |
perl-App-CLI.changes | 0000004782 4.67 KB | |
perl-App-CLI.spec | 0000002187 2.14 KB |
Revision 29 (latest revision is 30)
Dominique Leuenberger (dimstar_suse)
accepted
request 640761
from
Dirk Stoecker (dstoecker)
(revision 29)
- Fix autogenerated changes - updated to 0.50 see /usr/share/doc/packages/perl-App-CLI/Changes - updated to 0.49 see /usr/share/doc/packages/perl-App-CLI/Changes 0.49 * add files to MANIFEST missing from last release 0.48 * fixed help output behaviour (patch from sunnavy) * more rigorous testing of Help class * minor documentation improvements * add AppVeyor configuration 0.47 * add missing prereqs * add missing LICENSE file * add POD tests * fix utf8 error in POD 0.46 * many documentation updates * extended test suite * fix several perlcritic issues * mention package aliases in command list (José Joaquín Atria) * add default version command (José Joaquín Atria) * add a 'commands' command to list commands in app (José Joaquín Atria) * multiple general improvements to the code (José Joaquín Atria)
Comments 0