App::C...:Getopt(3pm)
π App::C...:Getopt π
okay bestie so this is the manual page for App::C...:Getopt, a little Perl module that lives in section 3pm of the User Contributed Perl Documentation. it's giving "the paperwork that runs your whole CLI" and honestly? obsessed. let's get into it π¦
β¨ SYNOPSIS β¨
ngl the synopsis section is literally empty. like, zero lines. not a crumb. it's a vibe-only section, no code to show you. moving on, periodt π
πΈ DESCRIPTION πΈ
Object representing application configuration β that's the whole thing, fr fr. it's an object that holds your app's config. short and iconic. π
π§ METHODS π§
$obj=ClusterSSH::Getopts->new ({ })
Create a new object. β¨ that's your origin story, main character energy, brand new baby object, no cap.
$obj=ClusterSSH::Getopts->add_option ({ })
Add extra options into the allowed set for parsing from the command line. you're expanding the menu, bestie β more flags, more power π
$obj=ClusterSSH::Getopts->add_common_options ({ })
Add common options used by most calling scripts into the allowed set for parsing from the command line. it's the shared starter pack that basically every script wants, iykyk π
$obj=ClusterSSH::Getopts->add_common_session_options ({ })
Add common session options used by most calling scripts into the allowed set for parsing from the command line. same deal, but the session flavored ones π
$obj=ClusterSSH::Getopts->add_common_ssh_options ({ })
Add common ssh options used by most calling scripts into the allowed set for parsing from the command line. ssh edition, because of course there's an ssh edition π₯
$obj->getopts
Function to call after all options have been set up; creates methods to call for each option on the object, such as $obj->action, or $obj->username. so you set everything up, then you call this, and boom β suddenly your object has one method per option and you can just ask it stuff directly. it's giving glow-up π
output(@)
Simple helper func to print out pod lines with double returns. lowkey just a formatting little guy π«Ά
help
usage
Functions to output help and usage instructions. the dynamic duo, here to tell your users how this thing works so they stop @-ing you π
real talk: that's every method, every signature, every description. nothing dropped, nothing invented. we keep the facts, we just serve them cute. π
this page is User Contributed Perl Documentation for App::C...:Getopt (section 3pm), from perl v5.42.2, dated 2026-05-05.
and that's the whole page bestie, we ate and left no crumbs πβ¨ bye ily π
π¦ where this page comes from
- fedora 43: clusterssh 4.19-1.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- fedora 44: clusterssh 4.19-1.fc44 Β· 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