App::Sp...Options(3)

πŸ“¦ version 0.15.0, in opensuse-leap 16.0

✨ NAME ✨

okay bestie, you're on the App::Sp...Options(3) manual page from the User Contributed Perl Documentation crew, and the actual main character here is App::Spec::Role::Plugin::GlobalOptions β€” literally the role for plugins that add options. Plugins for adding options should use this role, no cap. πŸ’–

🌸 DESCRIPTION 🌸

See App::Spec::Plugin::Help for an example. That's the whole description, bestie β€” short, sweet, and iconic. πŸŽ€

πŸŽ€ REQUIRED METHODS πŸŽ€

πŸ’… install_options πŸ’…

This should return an arrayref of options:

[
    {
        name => "help",
        summary: "Show command help",
        ...,
    },
]

Like, that's the required method vibe: it hands back an arrayref of options, and the example above shows the exact shape. Slay. ✨


cute sign-off: this page is from perl v5.42.0, dated 2025-03-26, and it's the App::Sp...Options(3) page β€” bye bestie, hydrate and go read your man pages πŸ’œ

πŸ“¦ where this page comes from