App::C...d::Help(3pm)
π NAME π
okay so this is the App::C...d::Help(3pm) page β User Contributed Perl Documentation, bestie. The actual module is App::CLI::Command::Help, and its whole thing is to output PODs of each command. iconic. π
β¨ SYNOPSIS β¨
package MyApp::Help;
use base qw(App::CLI::Command::Help);
sub run {
my ($self, @args) = @_;
# preprocess
$self->SUPER(@_); # App::CLI::Command::Help would output PODs of each command
}
π¦ DESCRIPTION π¦
Your command class should be capitalized. like, capital letter first, bestie, no cap. β¨
To add a help message, you 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
and that's the whole vibe, bestie π β this page is from perl v5.36.0, dated 2022-10-15, and it's App::C...d::Help(3pm). mwah π«Άβ¨
π¦ where this page comes from
- ubuntu noble: libapp-cli-perl 0.313-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libapp-cli-perl 0.313-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libapp-cli-perl 0.313-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms