perl-App-Spec-0.004-alt1.noarch.rpm


Advertisement

Description

perl-App-Spec - Specification for commandline app

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-App-Spec
Package version 0.004
Package release alt1
Package architecture noarch
Package type rpm
Installed size 249.18 KB
Download size 249.18 KB
Official Mirror ftp.altlinux.org
WARNING: This is still experimental. The spec is subject to change.
This module represents a specification of a command line tool.
Currently it can read the spec from a YAML file or directly from a data
structure in perl.
The the App::Spec::Run manpage module is the framework which will run the actual
app.
In the examples directory you will find the app `myapp' which is supposed
to demonstrate everything that App::Spec supports right now.
Your script:
use App::Spec;
my $spec = App::Spec->read("/path/to/myapp-spec.yaml");
my $run = $spec->runner;
$run->run;
Your App class:
package Your::App;
use base 'App::Spec::Run';
sub command1 {
my ($self) = @_;
my $options = $self->options;
my $param = $self->parameters;
}

Alternatives

Package Version Architecture Repository
perl-App-Spec - - -

Requires

Name Value
/usr/share/perl5 -
perl(Data/Dumper.pm) -
perl(Getopt/Long.pm) -
perl(List/MoreUtils.pm) -
perl(List/Util.pm) >= 1.330
perl(Moo.pm) -
perl(Ref/Util.pm) -
perl(Storable.pm) -
perl(Swim.pm) -
perl(Term/ANSIColor.pm) -
perl(Text/Table.pm) -
perl(YAML/XS.pm) -
perl(base.pm) -
perl-base >= 1:5.10.0
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(App/Spec.pm) = 0.004
perl(App/Spec/Argument.pm) = 0.004
perl(App/Spec/Completion.pm) = 0.004
perl(App/Spec/Completion/Bash.pm) = 0.004
perl(App/Spec/Completion/Zsh.pm) = 0.004
perl(App/Spec/Option.pm) = 0.004
perl(App/Spec/Parameter.pm) = 0.004
perl(App/Spec/Pod.pm) = 0.004
perl(App/Spec/Run.pm) = 0.004
perl(App/Spec/Run/Cmd.pm) = 0.004
perl(App/Spec/Run/Output.pm) = 0.004
perl(App/Spec/Run/Response.pm) = 0.004
perl(App/Spec/Run/Validator.pm) = 0.004
perl(App/Spec/Subcommand.pm) = 0.004
perl-App-Spec = 0.004-alt1

Download

Type URL
Binary Package perl-App-Spec-0.004-alt1.noarch.rpm
Source Package perl-App-Spec-0.004-alt1.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-App-Spec rpm package:
    # sudo apt-get install perl-App-Spec

Files

Path
/usr/share/doc/perl-App-Spec-0.004/Changes
/usr/share/doc/perl-App-Spec-0.004/LICENSE
/usr/share/doc/perl-App-Spec-0.004/README
/usr/share/doc/perl-App-Spec-0.004/README.md
/usr/share/doc/perl-App-Spec-0.004/examples/myapp-spec.yaml
/usr/share/doc/perl-App-Spec-0.004/examples/mysimpleapp-spec.yaml
/usr/share/doc/perl-App-Spec-0.004/examples/pcorelist-spec.yaml
/usr/share/doc/perl-App-Spec-0.004/examples/subrepo-spec.yaml
/usr/share/doc/perl-App-Spec-0.004/examples/bash/myapp.bash
/usr/share/doc/perl-App-Spec-0.004/examples/bash/pcorelist.bash
/usr/share/doc/perl-App-Spec-0.004/examples/bash/subrepo.bash
/usr/share/doc/perl-App-Spec-0.004/examples/bin/myapp
/usr/share/doc/perl-App-Spec-0.004/examples/bin/mysimpleapp
/usr/share/doc/perl-App-Spec-0.004/examples/bin/pcorelist
/usr/share/doc/perl-App-Spec-0.004/examples/bin/subrepo
/usr/share/doc/perl-App-Spec-0.004/examples/html/myapp.html
/usr/share/doc/perl-App-Spec-0.004/examples/html/mysimpleapp.html
/usr/share/doc/perl-App-Spec-0.004/examples/html/pcorelist.html
/usr/share/doc/perl-App-Spec-0.004/examples/html/subrepo.html
/usr/share/doc/perl-App-Spec-0.004/examples/pod/myapp.pod
/usr/share/doc/perl-App-Spec-0.004/examples/pod/mysimpleapp.pod
/usr/share/doc/perl-App-Spec-0.004/examples/pod/pcorelist.pod
/usr/share/doc/perl-App-Spec-0.004/examples/pod/subrepo.pod
/usr/share/doc/perl-App-Spec-0.004/examples/zsh/_myapp
/usr/share/doc/perl-App-Spec-0.004/examples/zsh/_pcorelist
/usr/share/doc/perl-App-Spec-0.004/examples/zsh/_subrepo
/usr/share/perl5/App/Spec.pm
/usr/share/perl5/App/Spec/Argument.pm
/usr/share/perl5/App/Spec/Completion.pm
/usr/share/perl5/App/Spec/Option.pm
/usr/share/perl5/App/Spec/Parameter.pm
/usr/share/perl5/App/Spec/Pod.pm
/usr/share/perl5/App/Spec/Run.pm
/usr/share/perl5/App/Spec/Subcommand.pm
/usr/share/perl5/App/Spec/Tutorial.pod
/usr/share/perl5/App/Spec/Completion/Bash.pm
/usr/share/perl5/App/Spec/Completion/Zsh.pm
/usr/share/perl5/App/Spec/Run/Cmd.pm
/usr/share/perl5/App/Spec/Run/Output.pm
/usr/share/perl5/App/Spec/Run/Response.pm
/usr/share/perl5/App/Spec/Run/Validator.pm
/usr/share/perl5/auto/share/
/usr/share/perl5/auto/share/dist/
/usr/share/perl5/auto/share/dist/App-Spec/schema.yaml

See Also

Package Description
perl-App-SpeedTest-0.19-alt1.noarch.rpm Command line interface to speedtest.net
perl-App-SpeedTest-scripts-0.19-alt1.noarch.rpm perl-App-SpeedTest scripts
perl-App-Squid-Redirector-Fugu-0.0.9-alt1.noarch.rpm A Squid HTTP redirector
perl-App-Squid-Redirector-Fugu-scripts-0.0.9-alt1.noarch.rpm App-Squid-Redirector-Fugu scripts
perl-App-St-1.1.3-alt1.noarch.rpm Simple Statistics
perl-App-St-scripts-1.1.3-alt1.noarch.rpm App-St scripts
perl-App-Standby-0.04-alt1.noarch.rpm Managing on-call rotation and notification queues
perl-App-Standby-scripts-0.04-alt1.noarch.rpm App-Standby scripts
perl-App-Starter-0.13-alt1.noarch.rpm Application Starter
perl-App-Starter-scripts-0.13-alt1.noarch.rpm App-Starter scripts
perl-App-Stash-0.02-alt1.noarch.rpm persistent application data storage
perl-App-StaticImageGallery-0.002-alt1.noarch.rpm Static Image Gallery
perl-App-StaticImageGallery-scripts-0.002-alt1.noarch.rpm App-StaticImageGallery scripts
perl-App-Staticperl-1.44-alt1.noarch.rpm perl, libc, 100 modules, all in one standalone 500kb file
perl-App-Staticperl-scripts-1.44-alt1.noarch.rpm App-Staticperl scripts
Advertisement
Advertisement