App::CL...Commands(3)
π App::CLI::Command::Commands(3) π
okay bestie, so this is a page from the User Contributed Perl Documentation for the module App::CLI::Command::Commands β yes the header truncates it to App::CL...Commands(3) because man pages are dramatic like that π
β and it does exactly one thing, but it does it flawlessly.
β¨ NAME β¨
App::CLI::Command::Commands β it prints a list of commands for your app. that's it. that's the whole job. and it ate π
πΈ SYNOPSIS πΈ
here's the vibe, copy-paste ready:
package MyApp;
use base qw(App::CLI App::CLI::Command);
# Make your app get a list of commands
use constant alias => (
commands => '+App::CLI::Command::Commands',
);
1;
so you declare your package, you inherit from App::CLI and App::CLI::Command, and then β the moment we've all been waiting for β you make your app get a list of commands by setting up that alias constant with commands pointing at '+App::CLI::Command::Commands'. note the little + at the front, bestie, do not skip it, it's part of the fit β¨ and then 1; because Perl demands a truthy ending like it's a rom-com π
π¦ DESCRIPTION π¦
it prints a list of commands registered for your application. that's the whole plot. no subplot, no twist, just a clean little list of everything your app can do, served fresh π
ngl that's the entire man page and honestly? iconic. short, sweet, no notes.
so yeah β this was App::CLI::Command::Commands(3), running under perl v5.42.0, dated 2025-07-25, from the User Contributed Perl Documentation collection. love that for us. go print some commands, bestie π«Άππ
π¦ where this page comes from
- fedora 43: perl-App-CLI 0.520-15.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms