libmoosex-getopt-perl

Moose extension for processing command line options

Description

MooseX::Getopt is a Moose role which provides an alternate constructor for creating objects using parameters passed in from the command line. This module automatically discovers command line parameters by introspecting your class attributes, using the name of your attribute as the command line option. If there is a type constraint defined, it will configure Getopt::Long to handle the option accordingly.

By default, attributes beginning with an underscore are considered private and are not given commandline argument support, unless the attribute's metaclass is set to MooseX::Getopt::Meta::Attribute. You can also use this behaviour to get non-default commandline option names and aliases.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://metacpan.org/release/MooseX-Getopt


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install libmoosex-getopt-perl