1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
|
Source: libmousex-getopt-perl
Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Uploaders: TANIGUCHI Takaki <takaki@debian.org>,
gregor herrmann <gregoa@debian.org>
Section: perl
Testsuite: autopkgtest-pkg-perl
Priority: optional
Build-Depends: debhelper (>= 9.20140227~),
libmodule-build-tiny-perl,
perl
Build-Depends-Indep: libgetopt-long-descriptive-perl,
libmouse-perl,
libmousex-configfromfile-perl,
libtest-exception-perl,
libtest-warn-perl
Standards-Version: 3.9.8
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libmousex-getopt-perl.git
Vcs-Git: https://anonscm.debian.org/git/pkg-perl/packages/libmousex-getopt-perl.git
Homepage: https://metacpan.org/release/MouseX-Getopt
Package: libmousex-getopt-perl
Architecture: all
Depends: ${misc:Depends},
${perl:Depends},
libgetopt-long-descriptive-perl,
libmouse-perl
Description: Mouse role for processing command line options
MouseX::Getopt is a role which provides an alternate constructor for creating
objects using parameters passed in from the command line.
.
MouseX::Getopt attempts to DWIM as much as possible with the command line
params by introspecting your class's attributes. It will use the name of your
attribute as the command line option, and if there is a type constraint
defined, it will configure Getopt::Long to handle the option accordingly.
.
You can use the trait MouseX::Getopt::Meta::Attribute::Trait or the attribute
metaclass MouseX::Getopt::Meta::Attribute to get non-default commandline
option names and aliases.
.
You can use the trait MouseX::Getopt::Meta::Attribute::Trait::NoGetopt or the
attribute metaclass MouseX::Getopt::Meta::Attribute::NoGetopt to have
MouseX::Getopt ignore your attribute in the commandline options.
|