The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

NAME

App::CLI::Command::Help

SYNOPSIS

package MyApp::Help;
sub run {
my $self = shift;
# preprocess
$self->SUPER::run(@_); # App::CLI::Command::Help would output POD of each command
}

DESCRIPTION

Your command class should be capitalized.

To add a help message, just add POD in the command class:

=head1 NAME
YourApp::Command::Foo - execute foo
=head1 DESCRIPTION
blah blah
=head1 USAGE
....
=cut