App::CLI - Dispatcher module for command line interface programs
package MyApp; use base 'App::CLI'; package main; MyApp->dispatch; package MyApp::Help; use base 'App::CLI::Command'; sub options { ('verbose' => 'verbose'); } sub run { my ($self, $arg) = @_; }
App::CLI dispatches CLI (command line interface) based commands into command classes. It also supports subcommand and per-command options.
App::CLI
More documentation
App::CLI::Command
Chia-liang Kao <clkao@clkao.org>
Copyright 2005-2006 by Chia-liang Kao <clkao@clkao.org>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See http://www.perl.com/perl/misc/Artistic.html
To install App::CLI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::CLI
CPAN shell
perl -MCPAN -e shell install App::CLI
For more information on module installation, please visit the detailed CPAN module installation guide.