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
- opensuse-leap 16.0: perl-MooseX-App 1.430.1-bp160.1.10 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms