From a38fd199b90d27a2405f8cabab0e4f6e45c69b08 Mon Sep 17 00:00:00 2001 From: Robin Monnier Date: Fri, 9 Feb 2018 17:07:13 +0100 Subject: [PATCH] feat(pm2): add pm2 init option to generate an ecosystem file --- bin/pm2 | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/pm2 b/bin/pm2 index aeb4aa481..699817f6c 100755 --- a/bin/pm2 +++ b/bin/pm2 @@ -665,6 +665,7 @@ commander.command('logrotate') commander.command('ecosystem [mode]') .alias('generate') + .alias('init') .description('generate a process conf file. (mode = null or simple)') .action(function(mode) { pm2.generateSample(mode);