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


Advertisement

Description

perl-App-Spec - Specification for commandline app

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

Provides

  • 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

    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

    • /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
    Advertisement
    Advertisement