-
-
09 Jul 2013 01:39:32 UTC
- Distribution: Canella
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues (0)
- Testers (431 / 0 / 0)
- Kwalitee
Bus factor: 1- 84.21% Coverage
- License: perl_5
- Perl: v5.8.5
- Activity
24 month- Tools
- Download (17.22KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 1 contributors-
Daisuke Maki
NAME
canella - Frontend to Canella Deploy Tool
SYNOPSIS
canella [-C num] [-s key=value ...] [ --mode=xxxx ] -c etc/deploy.pl role task [task ...]
OPTIONS
-c | --config
StringSpecifies the configuration file. Required.
-C | --concurrency
IntegerSpecifies the number of coroutine threads to run concurrently.
The default number for this option is 8
--mode
StringChanges the operation mode.
When "dump" mode is specified, dumps the tasks, roles, parameters, and config file name in JSON format.
When "help" mode is specified, shows some help message describing the specified deploy file
-s | --set
String '=' StringSpecifies parameters from the command line
Given a config like:
task mytask => sub { say get 'foo'; };
Invoking canella like this will print ouf "bar":
canella -s foo=bar -c etc/deploy.pl mytask
Note that -s allows you to override default variables set in the deploy file:
set foo => 1; task mytask => sub { say get 'foo'; }; canella -s foo=bar -c etc/deploy.pl mytask # prints "bar"
Module Install Instructions
To install Canella, copy and paste the appropriate command in to your terminal.
cpanm Canella
perl -MCPAN -e shell install Canella
For more information on module installation, please visit the detailed CPAN module installation guide.