NAME
MooseX::App::Command - Load command class metaclasses
SYNOPSIS
package MyApp::SomeCommand;
use Moose; # optional
use MooseX::App::Command
has 'testattr' => (
isa => 'rw',
command_tags => [qw(Important! Nice))],
);
command_short_description 'This is a short description';
DESCRIPTION
By loading this class into your command classes you enable all documentation features such as:
Parsing command documentation from POD
Setting the command documentation manually via
command_short_description
andcommand_long_description
Adding the
command_tags
option to attributes
FUNCTIONS
command_short_description
Set the short description
command_long_description
Set the long description