app-cpm-wrapper summary

Plugin Name: app-cpm-wrapper
Version: 0.0.5
Author: @melezhik
Realease Date: 2017-10-06 13:22:02
Short Description: Simple wrapper for App::cpm
Category: utilities
Plugin web page: https://github.com/melezhik/app-cpm-wrapper
 
Download link: app-cpm-wrapper-v0.000005.tar.gz
Latest version link: https://sparrowhub.org/info/app-cpm-wrapper

# 0.0.5

* documentation improvements - example of global install

# 0.0.3-4

* Sparrowdo usage

# 0.0.2

* Use the latest version of Sparrow
* Documentation fixes

app-cpm-wrapper documentation

SYNOPSIS

Simple wrapper for App::cpm

INSTALL

  $ sparrow plg install app-cpm-wrapper

USAGE

Basic usage:

  $ sparrow plg run app-cpm-wrapper --param module=$module -- <app-cpm-wrapper-params>

For example:

  $ sparrow plg run app-cpm-wrapper \
  --param module="HTTP::Tiny Config::Tiny" -- \
  -w 2 \
  -L /home/melezhik/cpan # so on

See parameters description at cpm doc

Automation

By sparrow tasks:

  $ sparrow project create cpan

  $ sparrow task add cpan installer app-cpm-wrapper

  $ sparrow task ini cpan/installer

    ---
    args: 
      - '~w': 2 
      - '~L': /home/melezhik/cpan

  $ sparrow task run cpan/installer --param module="HTTP::Tiny Config::Tiny"

Or if you prefer remote run, use Sparrowdo:

  $ cat sparrowfile

  task-run "install a couple of modules", "app-cpm-wrapper", %(
    args => (
      'g', # global install
      %( '~w' => 2 ) # numbe of workers
    )
  );


  $ sparrowdo --host=$host # run on remote host

Author