dev-cli: allow to set the interpreter (#3100)

This commit is contained in:
vmarchaud 2017-08-21 14:19:54 +02:00
parent cc0f0aa809
commit 74dddea1a3

View File

@ -28,6 +28,7 @@ commander.version(pkg.version)
.option('--post-exec [cmd]', 'execute extra command after change detected')
.option('--silent-exec', 'do not output result of post command', false)
.option('--test-mode', 'debug mode for test suit')
.option('--interpreter <interpreter>', 'the interpreter pm2 should use for executing app (bash, python...)')
.option('--env [name]', 'select env_[name] env variables in process config file')
.option('--auto-exit', 'exit if all processes are errored/stopped or 0 apps launched')
.usage('pm2-dev app.js');