App::CLI::Command::Help(3pm)

App::CLI::Command::Help3pm

Usage

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

Overview

Your command class should be capitalized.

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

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

Releases

8 releases since Debian 7 (Wheezy); the text changed 3 times.

  1. 7–8
  2. 9–11
  3. 12–13
  4. Arch

From perl-app-cli 0.52-8 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.