Manual Pages for UNIX Darwin command on man App::CLI::Command
MyWebUniversity

Manual Pages for UNIX Darwin command on man App::CLI::Command

App::CLI::Command(3) User Contributed Perl Documentation App::CLI::Command(3)

NAME

App::CLI::Command - Base class for App::CLI commands

SYNOPSIS

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) = @;

}

DESCRIPTION

briefusage ($file)

Display an one-line brief usage of the command object. Optionally, a

file could be given to extract the usage from the POD.

usage ($wantdetail)

Display usage. If $wantdetail is true, the "DESCRIPTION" section is

displayed as well.

loctext $text

Localizes the body of (formatted) text in $text, and returns the

localized version. filename Return the filename for the command module. TTOODDOO More documentation

SEE ALSO

App::CLI AUTHORS

Chia-liang Kao

COPYRIGHT

Copyright 2005-2006 by Chia-liang Kao .

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See

perl v5.8.8 2006-11-24 App::CLI::Command(3)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™