Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/melezhik/app-cpm-wrapper
Simple wrapper for App::cpm
https://github.com/melezhik/app-cpm-wrapper
app-cpm cpan perl
Last synced: 5 days ago
JSON representation
Simple wrapper for App::cpm
- Host: GitHub
- URL: https://github.com/melezhik/app-cpm-wrapper
- Owner: melezhik
- Created: 2017-09-30T20:25:54.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-10-06T10:22:39.000Z (about 7 years ago)
- Last Synced: 2024-11-05T22:03:09.944Z (about 2 months ago)
- Topics: app-cpm, cpan, perl
- Language: Shell
- Size: 2.93 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: Changes.md
Awesome Lists containing this project
README
# SYNOPSIS
Simple wrapper for [App::cpm](https://metacpan.org/pod/App::cpm)
# INSTALL
$ sparrow plg install app-cpm-wrapper
# USAGE
Basic usage:
$ sparrow plg run app-cpm-wrapper --param module=$module --
For example:
$ sparrow plg run app-cpm-wrapper \
--param module="HTTP::Tiny Config::Tiny" -- \
-w 2 \
-L /home/melezhik/cpan # so onSee parameters description at [cpm doc](https://metacpan.org/pod/distribution/App-cpm/script/cpm)
# 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
* The plugin maintainer is [Alexey Melezhik](https://github.com/melezhik/)