mirror of
https://github.com/Unitech/pm2.git
synced 2025-12-08 20:35:53 +00:00
docs: add documentation on new pm2 install command
This commit is contained in:
parent
828a30d0cc
commit
c90c453f85
4
bin/pm2
4
bin/pm2
@ -464,11 +464,11 @@ commander.command('update')
|
||||
/**
|
||||
* Module specifics
|
||||
*/
|
||||
commander.command('install [module|git:// url]')
|
||||
commander.command('install [module|git:// url|json]')
|
||||
.alias('module:install')
|
||||
.option('--v1', 'install module in v1 manner (do not use it)')
|
||||
.option('--safe [time]', 'keep module backup, if new module fail = restore with previous')
|
||||
.description('install or update a module and run it forever')
|
||||
.description('install or update a module (or a set of modules) and run it forever')
|
||||
.action(function(plugin_name, opts) {
|
||||
if (opts.v1)
|
||||
commander.v1 = true;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user