homogeneize option parsing logic between JSON and CLI execution - cancel JSON execution if there are errors - cleanly exit PM2 CLI with exitCli()