1App::CLI(3) User Contributed Perl Documentation App::CLI(3)
2
3
4
6 App::CLI - Dispatcher module for command line interface programs
7
9 package MyApp;
10 use base 'App::CLI';
11
12 package main;
13
14 MyApp->dispatch;
15
16 package MyApp::Help;
17 use base 'App::CLI::Command';
18
19 sub options {
20 ('verbose' => 'verbose');
21 }
22
23 sub run {
24 my ($self, $arg) = @_;
25 }
26
28 "App::CLI" dispatches CLI (command line interface) based commands into
29 command classes. It also supports subcommand and per-command options.
30
32 More documentation
33
35 App::CLI::Command
36
38 Chia-liang Kao <clkao@clkao.org>
39
41 Copyright 2005-2006 by Chia-liang Kao <clkao@clkao.org>.
42
43 This program is free software; you can redistribute it and/or modify it
44 under the same terms as Perl itself.
45
46 See <http://www.perl.com/perl/misc/Artistic.html>
47
48
49
50perl v5.8.8 2006-11-24 App::CLI(3)