CLI wrapper for Throng (Dead-simple one-liner for clustered Node.js apps)
npm install throng-cliA tiny CLI wrapper for Throng
```Global
npm install --g throng-cliLocal
npm install --save throng-cli
``
throng -s ./index.js -w 4
Help:
`
Usage: cluster [options]
Options:
-h, --help output usage information
-V, --version output the version number
-s, --script
-w, --workers
-l, --lifetime
-g, --grace
`
Options are passed straight to Throng
Add to your package.json:
`json``
"scripts": {
"start": "node ./app.js",
"start:cluster": "throng -s ./app.js -w 4"
}