App::Sp...in::Help(3)

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

πŸ’– NAME πŸ’–

hey bestie, welcome to the App::Spec::Plugin::Help(3) manual page β€” User Contributed Perl Documentation energy, and the manual name is literally right there. This is App::Spec::Plugin::Help β€” the App::Spec Plugin for help subcommand and options. That's the whole NAME vibe, periodt. ✨

🌸 DESCRIPTION 🌸

okay so this plugin is enabled in App::Spec by default β€” lowkey iconic. It's a plugin that adds -h|--help options to your app. Also, for apps with subcommands, it adds a subcommand help. 🫢

The help command can then be called with all existing subcommands, like this:

% app cmd1
% app cmd2
% app cmd2 cmd2a
% app help
% app help cmd1
% app help cmd2
% app help cmd2 cmd2a

No cap, that's the whole flow. πŸ’…

πŸŽ€ METHODS πŸŽ€

cmd_help πŸ’«

This is the code which is executed when using -h|--help or the subcommand help. main character behavior, honestly. 😌

install_options πŸ”§

This method is required by App::Spec::Role::Plugin::GlobalOptions.

See App::Spec::Role::Plugin::GlobalOptions#install_options.

install_subcommands 🧚

This is required by App::Spec::Role::Plugin::Subcommand.

See App::Spec::Role::Plugin::Subcommand#install_subcommands.

global_options 🌈

This method is called by App::Spec::Run after global options have been read.

For apps without subcommands it just sets the method to execute to App::Spec::Plugin::Help::cmd_help. No further processing is done.

For apps with subcommands it inserts "help" at the beginning of the commandline arguments and continues processing.

init_run ⭐

See App::Spec::Plugin.


mwah πŸ’‹ β€” this page is from perl v5.42.0, dated 2025-03-26, and the footer name is App::Sp...in::Help(3). bye bestie, go slay some help output πŸ«ΆπŸ’–

πŸ“¦ where this page comes from