MooseX:...entation(3)

🌸 NAME 🌸

okay so bestie, this is MooseX::App::Meta::Role::Class::Documentation β€” a meta class role for command classes 🫢. It's part of the User Contributed Perl Documentation collection, and the header is out here looking like MooseX:...entation(3) (iykyk), but the actual module name is the whole one above πŸ’….

πŸ’œ DESCRIPTION πŸ’œ

This meta class role gets automatically applied to all command classes ✨. No extra ceremony, it just shows up like main character energy.

This documentation is only of interest if you intend to write plugins for MooseX::App 🧚. If that's not your vibe, no stress β€” but if it is, slay, keep reading.


πŸŽ€ ACCESSORS πŸŽ€

✨ command_short_description ✨

Read/set the short command description. If it's not set, it will be extracted from the Pod NAME or ABSTRACT section. Alternative: it will be taken from the DistZilla ABSTRACT tag.

πŸ’– command_long_description πŸ’–

Read/set the long command description. If it's not set, it will be extracted from the Pod DESCRIPTION or OVERVIEW section.

πŸ¦‹ command_usage πŸ¦‹

Read/set the long command usage. If it's not set, it will be extracted from the Pod SYNOPSIS or USAGE section. If these Pod sections are not defined, the usage will be autogenerated ✨.

βœ… command_short_description_predicate βœ…

Checks if command_short_description is available.

βœ… command_long_description_predicate βœ…

Checks if command_long_description is available.

βœ… command_usage_predicate βœ…

Checks if command_usage is available.

πŸ”₯ command_strict πŸ”₯

Read/set the strict command flag. If strict is enabled, the command will terminate with an error message if superfluous/unknown positional parameters are supplied 😭. If disabled, all extra parameters will be copied to the extra_argv attribute.

The app_strict function in the app classes allows one to set this option globally 🌍.

πŸ”₯ METHODS πŸ”₯

πŸ” _build_command_pod πŸ”

Parses the Pod from the command class.


that's the whole page, bestie πŸŽ€. this little manual moment is brought to you by perl v5.42.0, dated 2024-08-09 β€” periodt πŸ’œπŸ¦‹

πŸ“¦ where this page comes from