Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added filters for global envs #4596

Closed
wants to merge 1,284 commits into from
Closed
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
1284 commits
Select commit Hold shift + click to select a range
b66037b
deps: bump @pm2/io to latest
vmarchaud Mar 5, 2019
d812f51
tests: avoid race because of auto restart
vmarchaud Mar 5, 2019
b787b99
chore: re-add node 4 ci + disable pmx with node 4 + warning on start
vmarchaud Mar 5, 2019
0b12c1a
plus: disable new bucket creation
vmarchaud Mar 6, 2019
6920d0f
test: skip tests and require when node4
Unitech Mar 7, 2019
140e0d5
deps: bump @pm2/io + avoid double init
vmarchaud Mar 8, 2019
945d0f9
pm2@3.4.0
Unitech Mar 8, 2019
0637d4f
fix pm2 unstartup fialed in macos
harlentan Mar 12, 2019
609ec7a
fix: change help message of describe/env command
cuspymd Mar 18, 2019
d1bdb39
Merge branch 'master' into development
Unitech Mar 26, 2019
e9ab3e8
fix: show indicator when an application has tracing activated
Unitech Mar 26, 2019
27b505a
fix: restore signup via cli
Unitech Mar 26, 2019
18e7da5
pm2@3.4.1
Unitech Mar 26, 2019
170f241
doc: fix badge node > 6
Unitech Mar 26, 2019
96c8d88
improv: serve feat, spa + basic auth
f-hj Mar 27, 2019
7600255
improv: auto add monitoring snippet
f-hj Mar 28, 2019
d87d672
pm2@3.4.1
Unitech Mar 26, 2019
99fcb90
Fix --ignore-watch to take in globs
oleg-codaio Mar 29, 2019
524e684
Merge pull request #4220 from f-hj/development
Unitech Apr 5, 2019
5505fcc
Merge pull request #4203 from cuspymd/fix-desc-help3
Unitech Apr 5, 2019
3e093d8
Merge pull request #4197 from harlentan/patch-2
Unitech Apr 5, 2019
16aa643
Merge pull request #4171 from EriksRemess/patch-1
Unitech Apr 5, 2019
ad141a6
fix: pm2 conf display whole configuration
Unitech Apr 5, 2019
7e22ba5
Merge branch 'master' into development
Unitech Apr 5, 2019
5149ce8
chore: upgrade to 3.4.2
Unitech Apr 5, 2019
bc14706
fix: #4212 versioning comment not always present
Unitech Apr 5, 2019
86b3234
fix: display metric unit when running pm2 show
Unitech Apr 5, 2019
f7d3dc5
feat: display divergent environment variable from local environment i…
Unitech Apr 5, 2019
bcccfa2
fix: #4060 do not emit/online parse app when errored
Unitech Apr 5, 2019
24b4ad1
Merge branch 'development' into patch/readme-badge
Unitech Apr 5, 2019
e057a45
Merge pull request #3940 from FranklinYu/patch/readme-badge
Unitech Apr 5, 2019
1d6d2e0
chore: remove unused package + remove node 4 testing on travis
Unitech Apr 5, 2019
ac8aebc
fix: various terminal fixes
Unitech Apr 5, 2019
fd88558
fix: fixed logs length in pm2 monit fix #2793
Unitech Apr 5, 2019
9495739
fix: #2764 only display log of highlighted application
Unitech Apr 5, 2019
16316e7
Merge pull request #4157 from sirisian/patch-1
Unitech Apr 5, 2019
310def6
fix: systemd restart PM2 only on-failure #4157
Unitech Apr 5, 2019
d810ecc
pm2@3.5.0
Unitech Apr 8, 2019
0e2fd65
Fix pm2 serve urlencode 404 situation
alonelucky Apr 8, 2019
1f561e0
fix: Adjust the decodeURIComponent function call as recommended
alonelucky Apr 8, 2019
26aba94
Merge pull request #4239 from xiaqiubo/development
Unitech Apr 9, 2019
66da402
Update constants.js
Unitech Apr 19, 2019
cd51a60
Added HOST enviroment
sergeysedoy97 Apr 21, 2019
71dbc14
Merge branch 'development' into osv-fix-ignore-watch
Unitech Apr 23, 2019
f70e356
Merge branch 'master' into development
Unitech Apr 23, 2019
a3b22c7
Merge pull request #4224 from vaskevich/osv-fix-ignore-watch
Unitech Apr 23, 2019
da11304
chore: CHANGELOG update
Unitech Apr 23, 2019
a1abfcc
chore: test pm2 on node 12
Unitech Apr 23, 2019
efd4484
feat: pm2 save --force
Unitech Apr 23, 2019
8687284
fix: pm2 monit - clear logs when switching to another app + show app …
Unitech Apr 23, 2019
0f724c6
fix: add metrics unit / clearItems on select / rm deprecated link
Unitech Apr 23, 2019
a5987e1
feat: allow to run pm2 with embedded node binaries
Unitech Apr 26, 2019
65e1345
chore: remove unused screenshots and makefile
Unitech Apr 26, 2019
b47e8d2
fix: adapt test to new CLI behavior
Unitech Apr 26, 2019
b61fa08
chore: remove deprecated file
Unitech Apr 27, 2019
873de4c
refacto: has node embedded flag
Unitech Apr 27, 2019
3724a08
Update API.js
sergeysedoy97 Apr 29, 2019
0f4a459
epic: pm4 to v4.0 + adding advanced sysinfos
Unitech Apr 30, 2019
f165e54
Allow usernames in uid/gid/user again (fixes #4262)
SagePtr May 6, 2019
53bbd62
feat: pm2 slist for sysinfos + docker containers display + containers…
Unitech May 6, 2019
80df02d
fix: ANSI escape codes with --watch #3884
taneltm May 7, 2019
df3fde2
feat: fix disk io floating point + fix duplication in pm2 monit comma…
Unitech May 7, 2019
c4841ee
fix: issues on display on macosx + memory available fix + hide temper…
Unitech May 7, 2019
ffe3e69
chore: force node>8 + upgrade chokidar to 3.0 + remove v8-compile-cac…
Unitech May 7, 2019
7d47cc0
chore: remove workaround code for old node versions
Unitech May 7, 2019
2eec3e2
refactor: better display management of pm2 ls
Unitech May 8, 2019
520fb87
fix: better display when pm2 linked to onprem + fix display width
Unitech May 10, 2019
04cd0f2
feature: avoid set interval to avoid leaks and loop blockage + reduce…
Unitech May 10, 2019
557d400
fix: avoid pm2 show to fail if app is not started + avoid trying to s…
Unitech May 10, 2019
17c3128
fix: only add each process name to regexList once
henstock May 14, 2019
bb04310
Fix --wait-ip option doesn't work
tkmsst May 16, 2019
0882c3b
feat: allow pm2 startup via standalone install
Unitech May 19, 2019
0d95eaf
pm2@4.0.0-beta-1
Unitech May 19, 2019
f5b82d1
fix pm2 binary
Unitech May 19, 2019
53ead45
fix: node path resolution
Unitech May 21, 2019
d6e97ee
fix: add 'max' for instances option
sunecosuri May 22, 2019
210f8a0
pm2@3.5.1 - do not rely on optionalDependency #4289
Unitech May 23, 2019
21141ae
fix: agent is async, do not wait response
Unitech May 26, 2019
2f0333c
feat: specify embedded nodejs version
Unitech May 26, 2019
5d4a11d
Basic support for Solaris SMF as init system
licson May 27, 2019
fba555a
Added force (-f) flag when removing service
licson May 27, 2019
ed861ff
Added refresh (reload) method to service file
licson May 27, 2019
8e01076
Fixed undefined username when creating service definition
licson May 27, 2019
f82faa3
Remove garbage characters
licson May 27, 2019
9fde096
feat: better configuration display
Unitech May 28, 2019
83aa2f8
feat: pm2 update preserve stopped status #2654 #3625
Unitech May 28, 2019
e67dbbb
feat: allow to auto dump on start/stop/delete via pm2 set pm2:autodum…
Unitech May 28, 2019
89ae17d
feat: make docker/systemd mgmt optional via pm2 set pm2:docker true
Unitech May 28, 2019
c52b2fe
fix: cb calls
Unitech Jun 2, 2019
2c74e1d
Update nvm-node-version.sh
Unitech Jun 3, 2019
d85cf83
mro: upgrade js-api
BenoitZugmeyer Jun 4, 2019
c831a65
Merge pull request #4306 from BenoitZugmeyer/mro/upgrade-js-api
Unitech Jun 9, 2019
c16e8c7
always flush pm2 configuration in pretty format
Unitech Jun 10, 2019
b9ce29f
feat: add service detection system + disable docker container listing…
Unitech Jun 17, 2019
c918bd5
pm2-beta@4.0.0-beta-6
Unitech Jun 17, 2019
7e9e405
fix: display sections
Unitech Jun 17, 2019
eff6929
increase width of some rows
Unitech Jun 17, 2019
2b1de4d
sort by app name
Unitech Jun 17, 2019
9bfaeb9
increase width of some rows
Unitech Jun 17, 2019
7c19338
pm2@4.0.0-beta-7
Unitech Jun 17, 2019
8ae5ad7
merge #4303
Unitech Jun 17, 2019
4adac78
Merge pull request #4297 from licson0729/master
Unitech Jun 17, 2019
d8a6b60
refactor: fixed package version in package.json
Unitech Jun 17, 2019
1dadadd
fix: show error msg when trying to start not found script in ecosystem
Unitech Jun 22, 2019
6873440
avoid process
Unitech Jun 22, 2019
eb9d003
feat: auto suffix log when exiting + display error when wrong manipul…
Unitech Jun 29, 2019
18383b1
cli ux: when command is errored do not display process list to avoid …
Unitech Jun 29, 2019
1f3caac
feat: add network connection retrieval
Unitech Jun 29, 2019
911a7c8
temp rm exitsep cluster
Unitech Jun 29, 2019
11f8a78
temp remove write sep
Unitech Jul 2, 2019
246411a
docs: update info links
Unitech Jul 2, 2019
c1a03d3
Update WebAuth.js
sirhypernova Jul 24, 2019
b11be58
Update CliAuth.js
sirhypernova Jul 24, 2019
d05fe7e
Update CliUx.js
sirhypernova Jul 24, 2019
b13e5ad
Update CHANGELOG.md
sirhypernova Jul 24, 2019
0efa01f
chore: upgrade async to 3.1
Unitech Jul 29, 2019
2dd0f49
Update package.json
Unitech Jul 29, 2019
1cd32fb
chore: upgrade systeminformation
Unitech Jul 29, 2019
1feae52
chore: upgrade logo
Unitech Jul 29, 2019
f0f73a6
chore: change link
Unitech Jul 29, 2019
308d26d
chore: update README
Unitech Jul 29, 2019
e5c737d
fix: update lodash version
RiaanWest Jul 30, 2019
ba06d22
fix: after send ready SIGINT should be sent
Goodluckhf Jul 30, 2019
f9caeb0
refactor: Simplify bin/pm2 and move content to lib/binaries/CLI.js
ykolbin Aug 13, 2019
cfc94f4
fix: remove garbage whitespace.
mib008 Aug 14, 2019
90fcaad
fix: add property 'type' for compatible with old version.
mib008 Aug 14, 2019
6d91de0
Merge pull request #4392 from mib008/patch/issue_4378
Unitech Aug 14, 2019
e8a050c
Merge pull request #4377 from RiaanWest/fix/lodash-version
Unitech Aug 14, 2019
c2f3852
pm2@4.0.0-beta-8
Unitech Aug 14, 2019
d25181f
chore: upgrade pm2/io and chokidar
Unitech Sep 18, 2019
6ab7de3
fix: adapt new pm2 register flow
Unitech Sep 18, 2019
e608255
Merge pull request #4391 from ykolbin/migrate-pm2-cli
Unitech Sep 18, 2019
97f8fb4
chore: drop ADVANCED_README.md
Unitech Sep 18, 2019
adfc6a7
pm2@4.0.0-beta-9
Unitech Sep 24, 2019
4747ece
feat: added Lad to framework list
niftylettuce Sep 30, 2019
3a388d3
Merge pull request #4436 from niftylettuce/master
Unitech Oct 2, 2019
f313dc2
fix: pm2-runtime auto-exit check ignores module like logrotate
zyf0330 Oct 8, 2019
b448646
pm2@4.0.0
Unitech Oct 8, 2019
df5b517
fix: test dependency
Unitech Oct 8, 2019
b391b30
pm2@4.0.0
Unitech Oct 11, 2019
8d94f76
Merge pull request #4443 from zyf0330/master
Unitech Oct 11, 2019
dde0e54
fix: intensive process list is now condensed if small term
Unitech Oct 11, 2019
0df74df
Merge pull request #4376 from Goodluckhf/wait-ready-fix
Unitech Oct 11, 2019
cfb438c
Merge pull request #4364 from sirhypernova/master
Unitech Oct 11, 2019
959f7cc
Merge pull request #4288 from sunecosuri/fix-types-instances
Unitech Oct 11, 2019
2c21f3f
Merge pull request #4285 from epgdatacapbon/development
Unitech Oct 11, 2019
d03f650
skip test
Unitech Oct 11, 2019
79a4f7c
Merge pull request #4267 from SagePtr/issue4262
Unitech Oct 11, 2019
5f0c0a6
behavior: pm2 start app.js -i 1 default to cluster mode #4362
Unitech Oct 11, 2019
b5db718
Merge pull request #4281 from henstock/development
Unitech Oct 11, 2019
09536a3
Merge pull request #4270 from taneltm/fix-issue-3884
Unitech Oct 11, 2019
11fd1ec
Merge pull request #4254 from sergeysedoy97/patch-1
Unitech Oct 11, 2019
7383260
chore: do not log file change as error
Unitech Oct 11, 2019
ec027dd
chore: hard set instances if not specified
Unitech Oct 11, 2019
6534487
pm2@4.0.1
Unitech Oct 14, 2019
cc48bd4
Merge branch 'master' into development
Unitech Oct 14, 2019
b063733
fix: #4442 allow to pass path in direct pm2 execution
Unitech Oct 14, 2019
1e4d766
fix: hide forked process window
Unitech Oct 14, 2019
7a4e35c
pm2@4.0.2
Unitech Oct 15, 2019
48d90db
Merge branch 'master' into development
Unitech Oct 15, 2019
cf74894
chore: 4.1.0 changelog
Unitech Oct 15, 2019
5909241
pm2@4.1.0
Unitech Oct 15, 2019
ebde164
pm2@4.1.1
Unitech Oct 15, 2019
bcdaed4
fix: make systeminformation as optional module #4457
Unitech Oct 15, 2019
150b750
disable sysinfos
Unitech Oct 15, 2019
9d13743
fix: wait that python app exited properly
Unitech Oct 15, 2019
67fc558
pm2@4.1.2
Unitech Oct 15, 2019
e95479a
Merge branch 'master' into development
Unitech Oct 22, 2019
d542535
chore: enforce node engine >= 8.10.0
Unitech Oct 22, 2019
595bd88
chore: cleanup unused files
Unitech Oct 22, 2019
8546d5e
feature: enable sysinfos + safeguard via ping/pong
Unitech Oct 22, 2019
4bb7a5a
feature: pm2 sysinfos -t for tree view + add fd max
Unitech Oct 22, 2019
1175b66
fix: enforce process send to sysinfos
Unitech Oct 22, 2019
e620bfa
fix: less aggressive timeout
Unitech Oct 22, 2019
c8a81fe
fix: #4455 mem color disp fix
Unitech Oct 22, 2019
f9edfbd
chore: increase mem warn color
Unitech Oct 22, 2019
07a93bf
pm2@4.1.3
Unitech Oct 22, 2019
01206aa
chore: add node 13 to travis
Unitech Oct 23, 2019
7e6bcf4
Extracted kill signal to the constants.js. Added new environment vari…
aleksk Oct 17, 2019
6f71b78
fix: if id > 100 not shown in pm2 ls #4475
Unitech Oct 25, 2019
9a4a347
Add process namespaces feature
bvsubhash Oct 28, 2019
0425e3e
Update README.md
bvsubhash Oct 28, 2019
de9e313
Assign default namespace for scripts started via _startScript
bvsubhash Oct 28, 2019
deeebc7
chore: fix doc links #4477
Unitech Oct 28, 2019
9c0eb73
Fix typo for namespace
bvsubhash Oct 28, 2019
89570fb
Fix: typo for apps
bvsubhash Oct 29, 2019
3c5f2bc
fix: display correct username
bvsubhash Oct 29, 2019
4342c38
feat : log highlight option
bvsubhash Oct 29, 2019
68d993c
Added necessary condition
bvsubhash Oct 29, 2019
9f66da4
Merge pull request #4478 from bvsubhash/feature/namespace
Unitech Oct 29, 2019
69a5570
add --namespace CLI option #4478
Unitech Oct 29, 2019
044fcdd
Merge pull request #4480 from bvsubhash/patch-1
Unitech Oct 29, 2019
6dec187
chore: add tests for namespace feature #3471 #4478
Unitech Oct 30, 2019
771e0ba
Merge pull request #4474 from aleksk/alekseyk/kill-send
Unitech Oct 30, 2019
96c324d
feat: send signal via env PM2_KILL_USE_MESSAGE or --shutdown-with-mes…
Unitech Oct 30, 2019
18d07d6
feat: control over system monitoring via pm2 sysmonit #4471
Unitech Oct 30, 2019
03d98fb
chore: update CHANGELOG
Unitech Oct 30, 2019
47eb641
Merge pull request #4481 from bvsubhash/list_usernames_fix
Unitech Oct 30, 2019
5723f97
Merge pull request #4482 from bvsubhash/log-highlight
Unitech Oct 30, 2019
cf6853c
chore: reduce col size for ns
Unitech Oct 30, 2019
f464d09
chore: upgdate CHANGELOG
Unitech Oct 30, 2019
74e59d1
feat: auto adapt name col size on pm2 ls
Unitech Oct 30, 2019
23ef476
feature: pm2 create command
Unitech Nov 4, 2019
178e461
chore/feat: refactor CLI UX + hint about proc sync with dump #4454
Unitech Nov 4, 2019
281ae22
chore: update CHANGELOG
Unitech Nov 4, 2019
2a7bf4b
fix: stop and delete cron immediately on deletion of a process
bvsubhash Nov 5, 2019
58b061c
fix: pm2 version on pm2 update
Unitech Nov 8, 2019
a895875
feat: auto enable sysmonit when command typed
Unitech Nov 8, 2019
c4ab561
fix: make status col larger for long status
Unitech Nov 8, 2019
fbb0961
Merge pull request #4492 from bvsubhash/fix-cronjob-issue
Unitech Nov 14, 2019
2330164
chore: update changelog + add @bvsubhash as contributor
Unitech Nov 14, 2019
314c5bf
pm2@4.2.0
Unitech Nov 14, 2019
2779f04
fix: cron refactor
Unitech Nov 14, 2019
2477a50
fix: do not throw error on dump not present
Unitech Nov 16, 2019
125e174
fix: right cron prefix + re activate cron on restart
Unitech Nov 18, 2019
25449c6
chore: add helper message that cron is still online even after stop
Unitech Nov 18, 2019
2cf5bbc
chore: add hint that pm2 set pm2:autodump can sync dump file
Unitech Nov 18, 2019
956f35b
bump package.json
Unitech Nov 18, 2019
32a2a47
fix: throttle
Unitech Nov 18, 2019
32f05ef
fix: check pm2_env
Unitech Nov 18, 2019
d16fede
pm2@4.2.0
Unitech Nov 25, 2019
7cb6245
fix: col size when tracing enabled
Unitech Dec 4, 2019
afc0dbe
chore: version check
Unitech Dec 10, 2019
e96cda7
pm2@4.2.1
Unitech Dec 10, 2019
1ca9ec1
Fix an error for pm2 path on Windows.
kimhc999 Dec 31, 2019
dc21450
feat: #4540 support ES import
Unitech Jan 13, 2020
abe525b
chore: skip es module check if <13.3
Unitech Jan 13, 2020
6da715c
chore: avoid token exception on Node < 9.x
Unitech Jan 13, 2020
62feb3d
fix: look for package.json in parent folder
Unitech Jan 20, 2020
ce14c14
Merge pull request #4563 from kimhc999/fix/get-pm2-path-fix
Unitech Jan 20, 2020
707bc00
pm2@4.2.2
Unitech Jan 20, 2020
ec908b2
add travis test for node 9
Unitech Jan 21, 2020
31cb2af
fix: #4588 import syntax on Node 9.x
Unitech Jan 21, 2020
48c9ac2
feat: Added filter for global envs
inerc Feb 3, 2020
39c4a8b
feat: Added filter for global envs
inerc Feb 3, 2020
904c2f0
feat: Added filter for global envs
inerc Feb 3, 2020
cadb05e
feat: Added filter for global envs
inerc Feb 8, 2020
ed78cfa
feat: Added filter for global envs
inerc Feb 8, 2020
c634914
feat: Added filter for global envs
inerc Feb 8, 2020
c750267
feat: Added filter for global envs
inerc Feb 8, 2020
8f42d70
feat: Added filter for global envs
inerc Feb 8, 2020
60634a3
feat: Added filter for global envs
inerc Feb 8, 2020
43c6ad7
feat: Added filter for global envs
inerc Feb 8, 2020
f61ca09
feat: Added filter for global envs
inerc Feb 10, 2020
08023df
feat: Added filter for global envs
inerc Feb 10, 2020
0d6ad3b
feat: Added filter for global envs
inerc Feb 10, 2020
b26ed61
feat: Added filter for global envs
inerc Feb 11, 2020
ebeeee7
feat: Added filter for global envs: fixed comments
inerc Feb 11, 2020
5ef8c0b
feat: Added filter for global envs: fixed tests
inerc Feb 11, 2020
2ef7fb9
feat: fixed description filter_env
inerc Mar 4, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 9 additions & 0 deletions lib/API/schema.json
Expand Up @@ -239,6 +239,15 @@
"docDefault": false,
"docDescription": "Start a script even if it is already running (only the script path is considered)"
},
"filter_env": {
"type": [
"boolean",
"array",
"string"
],
"docDefault": false,
"docDescription": "Enable filtering global environments"
},
"append_env_to_name": {
"type": "boolean",
"docDefault": false,
Expand Down
13 changes: 11 additions & 2 deletions lib/Common.js
Expand Up @@ -187,8 +187,17 @@ Common.prepareAppConf = function(opts, app) {
else
env = process.env;

// Change to double check (dropped , {pm_cwd: cwd})
app.env = [{}, env, app.env || {}].reduce(function(e1, e2){
function filterEnv(envObj){
let new_env = {};
inerc marked this conversation as resolved.
Show resolved Hide resolved
let allowedKeys = app.filter_env.reduce((acc, current) =>
acc.filter( item => !item.includes(current)), Object.keys(envObj))
allowedKeys.forEach( key => new_env[key] = envObj[key]);
return new_env
}

app.env = [
{}, app.filter_env && app.filter_env.length ? filterEnv(process.env) : env, app.env || {}
].reduce(function(e1, e2){
return util._extend(e1, e2);
});

Expand Down
1 change: 1 addition & 0 deletions lib/binaries/CLI.js
Expand Up @@ -42,6 +42,7 @@ commander.version(pkg.version)
.option('--env <environment_name>', 'specify which set of environment variables from ecosystem file must be injected')
.option('-a --update-env', 'force an update of the environment with restart/reload (-a <=> apply)')
.option('-f --force', 'force actions')
.option('--filter_env [envs]', 'filter outgoing global values by prefix', function(v, m) { m.push(v); return m;}, [])
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We use includes in the filterEnv function and it checks if the string contains passed substring. So we filter outgoing values by the presence of the provided value in the key.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I hope that it will be in the release soon....

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@inerc I hope so, my pm2 crashes because of the env variables overflow. Can you change the description above? What about: 'filter out outgoing global values that contain provided strings'?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it will be better. I have made changes.

.option('-i --instances <number>', 'launch [number] instances (for networked app)(load balanced)')
.option('--parallel <number>', 'number of parallel actions (for restart/reload)')
.option('--shutdown-with-message', 'shutdown an application with process.send(\'shutdown\') instead of process.kill(pid, SIGINT)')
Expand Down