App::MechaCPAN::Deploy - Mechanize the deployment of CPAN things.
# Install perl and everything from the cpanfile into local/ # If cpanfile.snapshot exists, it will be consulted exclusivly user@host:~$ mechacpan deploy user@host:~$ zhuli do the thing
user@host:~$ mechacpan deploy
The deploy command is used for automating a deployment. It will install both perl and all the modules specified from the cpanfile. If there is a cpanfile.snapshot that was created by Carton, deploy will treat the modules listed in the snapshot file as the only modules available to install. If a module has a dependency not listed in the snapshot, the deployment will fail.
deploy
cpanfile
cpanfile.snapshot
This is the entry point into deployment. It will deploy perl and modules into the local directory of the current directory. $cpanfile is optional and does not have to provided. If it is provided, it needs to be either a path to a directory that contains a file named cpanfile or the path to a file that can be used as a cpanfile. The options available are listed below.
local
$cpanfile
The skip-perl boolean option will force deploy to not install perl, only the modules.
skip-perl
# Examples of skip-perl mechacpan deploy --skip-perl
Jon Gentle <cpan@atrodo.org>
Copyright 2017- Jon Gentle
This is free software. You may redistribute copies of it under the terms of the Artistic License 2 as published by The Perl Foundation.
To install App::MechaCPAN, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::MechaCPAN
CPAN shell
perl -MCPAN -e shell install App::MechaCPAN
For more information on module installation, please visit the detailed CPAN module installation guide.