pm2-run
v0.8.0
Published
Run arbitrary commands within a pm2 env
Downloads
92
Readme
pm2-run
This is a small helper utility, which given a pm2 compatible ecosystem.json
file,
allows to run the commands with the same environment as pm2 would.
pm2-run --ecosystem ./example-ecosystem.json --env staging --cmd "node $PWD/test.js"