canella - Frontend to Canella Deploy Tool
canella [-C num] [-s key=value ...] -c etc/deploy.pl role task [task ...]
-c | --config
Specifies the configuration file. Required.
-C | --concurrency
Specifies the number of coroutine threads to run concurrently.
The default number for this option is 8
-s | --set
Specifies 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"
To install Canella, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Canella
CPAN shell
perl -MCPAN -e shell install Canella
For more information on module installation, please visit the detailed CPAN module installation guide.