perl-MooseX-App-1.39-alt2.noarch.rpm


Advertisement

Description

perl-MooseX-App - Write user-friendly command line apps with even less suffering

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-MooseX-App
Package version 1.39
Package release alt2
Package architecture noarch
Package type rpm
Installed size 194.40 KB
Download size 194.40 KB
Official Mirror ftp.altlinux.org
MooseX-App is a highly customizeable helper to write user-friendly
command line applications without having to worry about most of the annoying
things usually involved. Just take any existing the Moose manpage class, add a single
line (`use MooseX-App qw(PluginA PluginB ...);') and create one class
for each command in an underlying namespace.
MooseX-App will then take care of
=over
=item * Finding, loading and initializing the command classes
=item * Creating automated help and documentation from pod and attributes
=item * Reading, encoding and validating the command line options and positional parameters entered by the user
=item * Providing helpful error messages if user input cannot be validated
=back
Commandline options are defined using the 'option' keyword which accepts
the same attributes as Moose' 'has' keyword.
option 'some_option' => (
is            => 'rw',
isa           => 'Str',
);
This is equivalent to
has 'some_option' => (
is            => 'rw',
isa           => 'Str',
traits        => ['AppOption'],
cmd_type      => 'option',
);
Positional parameters are defined with the 'parameter' keyword
parameter 'some_option' => (
is            => 'rw',
isa           => 'Str',
);
This is equivalent to
has 'some_option' => (
is            => 'rw',
isa           => 'Str',
traits        => ['AppOption'],
cmd_type      => 'parameter',
);
Read the Tutorial for getting started with a simple
MooseX::App command line application.

Alternatives

Package Version Architecture Repository
perl-MooseX-App - - -

Requires

Name Value
/usr/share/perl5 -
perl(Config/Any.pm) -
perl(Encode.pm) -
perl(File/HomeDir.pm) -
perl(IO/Interactive.pm) -
perl(List/Util.pm) >= 1.440
perl(Module/Pluggable/Object.pm) -
perl(Moose.pm) >= 2.0
perl(Moose/Exporter.pm) -
perl(Moose/Role.pm) -
perl(Moose/Util/TypeConstraints.pm) -
perl(MooseX/Types/Path/Class.pm) -
perl(Path/Class.pm) -
perl(PerlIO.pm) -
perl(PerlIO/encoding.pm) -
perl(Pod/Elemental.pm) -
perl(Pod/Elemental/Selectors.pm) -
perl(Pod/Elemental/Transformer/Nester.pm) -
perl(Pod/Elemental/Transformer/Pod5.pm) -
perl(Pod/Perldoc.pm) -
perl(Scalar/Util.pm) -
perl(Term/ANSIColor.pm) -
perl(Term/ReadKey.pm) -
perl(Text/WagnerFischer.pm) -
perl(if.pm) -
perl(namespace/autoclean.pm) -
perl(overload.pm) -
perl(utf8.pm) -
perl-base >= 1:5.10.0
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(MooseX/App.pm) = 1.390
perl(MooseX/App/Command.pm) -
perl(MooseX/App/Exporter.pm) -
perl(MooseX/App/Message/Block.pm) -
perl(MooseX/App/Message/BlockColor.pm) -
perl(MooseX/App/Message/Envelope.pm) -
perl(MooseX/App/Meta/Role/Attribute/Option.pm) -
perl(MooseX/App/Meta/Role/Class/Base.pm) -
perl(MooseX/App/Meta/Role/Class/Command.pm) -
perl(MooseX/App/Meta/Role/Class/Documentation.pm) -
perl(MooseX/App/Meta/Role/Class/Simple.pm) -
perl(MooseX/App/ParsedArgv.pm) -
perl(MooseX/App/ParsedArgv/Element.pm) -
perl(MooseX/App/ParsedArgv/Value.pm) -
perl(MooseX/App/Plugin/BashCompletion.pm) -
perl(MooseX/App/Plugin/BashCompletion/Command.pm) -
perl(MooseX/App/Plugin/BashCompletion/Meta/Class.pm) -
perl(MooseX/App/Plugin/Color.pm) -
perl(MooseX/App/Plugin/Color/Meta/Class.pm) -
perl(MooseX/App/Plugin/Config.pm) -
perl(MooseX/App/Plugin/Config/Meta/Class.pm) -
perl(MooseX/App/Plugin/ConfigHome.pm) -
perl(MooseX/App/Plugin/ConfigHome/Meta/Class.pm) -
perl(MooseX/App/Plugin/Depends.pm) -
perl(MooseX/App/Plugin/Depends/Meta/Attribute.pm) -
perl(MooseX/App/Plugin/Depends/Meta/Class.pm) -
perl(MooseX/App/Plugin/Env.pm) -
perl(MooseX/App/Plugin/Fuzzy.pm) -
perl(MooseX/App/Plugin/Man.pm) -
perl(MooseX/App/Plugin/Man/Command.pm) -
perl(MooseX/App/Plugin/Man/Meta/Class.pm) -
perl(MooseX/App/Plugin/MutexGroup.pm) -
perl(MooseX/App/Plugin/MutexGroup/Meta/Attribute.pm) -
perl(MooseX/App/Plugin/MutexGroup/Meta/Class.pm) -
perl(MooseX/App/Plugin/Term.pm) -
perl(MooseX/App/Plugin/Term/Meta/Attribute.pm) -
perl(MooseX/App/Plugin/Term/Meta/Class.pm) -
perl(MooseX/App/Plugin/Typo.pm) -
perl(MooseX/App/Plugin/Typo/Meta/Class.pm) -
perl(MooseX/App/Plugin/Version.pm) -
perl(MooseX/App/Plugin/Version/Command.pm) -
perl(MooseX/App/Plugin/Version/Meta/Class.pm) -
perl(MooseX/App/Role.pm) -
perl(MooseX/App/Role/Base.pm) -
perl(MooseX/App/Role/Common.pm) -
perl(MooseX/App/Simple.pm) = 1.390
perl(MooseX/App/Utils.pm) -
perl-MooseX-App = 1:1.39-alt2

Download

Type URL
Binary Package perl-MooseX-App-1.39-alt2.noarch.rpm
Source Package perl-MooseX-App-1.39-alt2.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-MooseX-App rpm package:
    # sudo apt-get install perl-MooseX-App

Files

Path
/usr/share/doc/perl-MooseX-App-1.39/Changes
/usr/share/doc/perl-MooseX-App-1.39/README
/usr/share/doc/perl-MooseX-App-1.39/TODO
/usr/share/perl5/MooseX/App.pm
/usr/share/perl5/MooseX/App/Command.pm
/usr/share/perl5/MooseX/App/Exporter.pm
/usr/share/perl5/MooseX/App/ParsedArgv.pm
/usr/share/perl5/MooseX/App/Role.pm
/usr/share/perl5/MooseX/App/Simple.pm
/usr/share/perl5/MooseX/App/Tutorial.pod
/usr/share/perl5/MooseX/App/Utils.pm
/usr/share/perl5/MooseX/App/WritingPlugins.pod
/usr/share/perl5/MooseX/App/Message/Block.pm
/usr/share/perl5/MooseX/App/Message/BlockColor.pm
/usr/share/perl5/MooseX/App/Message/Envelope.pm
/usr/share/perl5/MooseX/App/Meta/
/usr/share/perl5/MooseX/App/Meta/Role/
/usr/share/perl5/MooseX/App/Meta/Role/Attribute/Option.pm
/usr/share/perl5/MooseX/App/Meta/Role/Class/Base.pm
/usr/share/perl5/MooseX/App/Meta/Role/Class/Command.pm
/usr/share/perl5/MooseX/App/Meta/Role/Class/Documentation.pm
/usr/share/perl5/MooseX/App/Meta/Role/Class/Simple.pm
/usr/share/perl5/MooseX/App/ParsedArgv/Element.pm
/usr/share/perl5/MooseX/App/ParsedArgv/Value.pm
/usr/share/perl5/MooseX/App/Plugin/BashCompletion.pm
/usr/share/perl5/MooseX/App/Plugin/Color.pm
/usr/share/perl5/MooseX/App/Plugin/Config.pm
/usr/share/perl5/MooseX/App/Plugin/ConfigHome.pm
/usr/share/perl5/MooseX/App/Plugin/Depends.pm
/usr/share/perl5/MooseX/App/Plugin/Env.pm
/usr/share/perl5/MooseX/App/Plugin/Fuzzy.pm
/usr/share/perl5/MooseX/App/Plugin/Man.pm
/usr/share/perl5/MooseX/App/Plugin/MutexGroup.pm
/usr/share/perl5/MooseX/App/Plugin/Term.pm
/usr/share/perl5/MooseX/App/Plugin/Typo.pm
/usr/share/perl5/MooseX/App/Plugin/Version.pm
/usr/share/perl5/MooseX/App/Plugin/BashCompletion/Command.pm
/usr/share/perl5/MooseX/App/Plugin/BashCompletion/Meta/Class.pm
/usr/share/perl5/MooseX/App/Plugin/Color/
/usr/share/perl5/MooseX/App/Plugin/Color/Meta/Class.pm
/usr/share/perl5/MooseX/App/Plugin/Config/
/usr/share/perl5/MooseX/App/Plugin/Config/Meta/Class.pm
/usr/share/perl5/MooseX/App/Plugin/ConfigHome/
/usr/share/perl5/MooseX/App/Plugin/ConfigHome/Meta/Class.pm
/usr/share/perl5/MooseX/App/Plugin/Depends/
/usr/share/perl5/MooseX/App/Plugin/Depends/Meta/Attribute.pm
/usr/share/perl5/MooseX/App/Plugin/Depends/Meta/Class.pm
/usr/share/perl5/MooseX/App/Plugin/Man/Command.pm
/usr/share/perl5/MooseX/App/Plugin/Man/Meta/Class.pm
/usr/share/perl5/MooseX/App/Plugin/MutexGroup/
/usr/share/perl5/MooseX/App/Plugin/MutexGroup/Meta/Attribute.pm
/usr/share/perl5/MooseX/App/Plugin/MutexGroup/Meta/Class.pm
/usr/share/perl5/MooseX/App/Plugin/Term/
/usr/share/perl5/MooseX/App/Plugin/Term/Meta/Attribute.pm
/usr/share/perl5/MooseX/App/Plugin/Term/Meta/Class.pm
/usr/share/perl5/MooseX/App/Plugin/Typo/
/usr/share/perl5/MooseX/App/Plugin/Typo/Meta/Class.pm
/usr/share/perl5/MooseX/App/Plugin/Version/Command.pm
/usr/share/perl5/MooseX/App/Plugin/Version/Meta/Class.pm
/usr/share/perl5/MooseX/App/Role/Base.pm
/usr/share/perl5/MooseX/App/Role/Common.pm

See Also

Package Description
perl-MooseX-App-Cmd-Command-BashComplete-0.04-alt1.noarch.rpm Bash completion for your MooseX::App::Cmd programs
perl-MooseX-App-Plugin-ZshCompletion-0.002-alt1.noarch.rpm zsh completion for your MooseX::App applications
perl-MooseX-App-Role-Log4perl-0.03-alt1.1.noarch.rpm Add basic Log::Log4perl logging to a MooseX::App application as a role
perl-MooseX-ArrayRef-0.005-alt1.1.noarch.rpm blessed arrayrefs with Moose
perl-MooseX-Aspect-0.001-alt1.1.noarch.rpm aspect-oriented programming toolkit for Moose
perl-MooseX-Async-0.07-alt1_26.noarch.rpm Set of Metaclasses for MooseX::POE and it's siblings
perl-MooseX-Atom-0.02-alt1.1.noarch.rpm Non-immutable classes are silly. Lets fix that
perl-MooseX-Attribute-Deflator-2.2.2-alt1.1.noarch.rpm Deflate and inflate Moose attribute values
perl-MooseX-Attribute-Dependent-1.1.4-alt1.noarch.rpm Restrict attributes based on values of other attributes
perl-MooseX-Attribute-ENV-0.02-alt1.1.noarch.rpm Set default of an attribute to a value from %ENV
perl-MooseX-Attribute-Handles-Expand-0.0.3-alt1.1.noarch.rpm Expands '*' in handle functions with the attribute name
perl-MooseX-Attribute-Localize-0.1.2-alt1.1.noarch.rpm localize attribute values within a scope
perl-MooseX-Attribute-Multibuilder-0.0.1-alt1.noarch.rpm Have several attributes share the same builder
perl-MooseX-Attribute-Prototype-0.10-alt1.1.noarch.rpm Borrow and Extend Moose Attrtibutes
perl-MooseX-Attribute-TypeConstraint-CustomizeFatal-0.03-alt1.1.noarch.rpm Control how failed type constraint checks are handled
Advertisement
Advertisement