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