debian man page for moosex::app::cmd::command

Query: moosex::app::cmd::command

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

MooseX::App::Cmd::Command(3pm)				User Contributed Perl Documentation			    MooseX::App::Cmd::Command(3pm)

NAME
MooseX::App::Cmd::Command - Base class for MooseX::Getopt based App::Cmd::Commands.
SYNOPSIS
use Moose; extends qw(MooseX::App::Cmd::Command); # no need to set opt_spec # see MooseX::Getopt for documentation on how to specify options has option_field => ( isa => "Str", is => "rw", required => 1, ); sub execute { my ( $self, $opts, $args ) = @_; print $self->option_field; # also available in $opts->{option_field} }
DESCRIPTION
This is a replacement base class for App::Cmd::Command classes that includes MooseX::Getopt and the glue to combine the two.
METHODS
_process_args Replaces App::Cmd::Command's argument processing in in favour of MooseX::Getopt based processing.
TODO
Full support for Getopt::Long::Descriptive's abilities is not yet written. This entails taking apart the attributes and getting at the descriptions. This might actually be added upstream to MooseX::Getopt, so until we decide here's a functional but not very helpful (to the user) version anyway. perl v5.14.2 2012-02-29 MooseX::App::Cmd::Command(3pm)
Related Man Pages
moosex::getopt::basic5.18(3pm) - mojave
moosex::getopt::gld(3) - osx
moosex::getopt::dashes(3pm) - mojave
app::cmd::simple(3pm) - debian
moosex::app::cmd(3pm) - debian
Similar Topics in the Unix Linux Community
Adding the individual columns of a matrix.
Introduction
A (ksh) Library For and From UNIX.com
How to copy a column of multiple files and paste into new excel file (next to column)?
My first PERL incarnation... Audio Oscillograph