dpa-cli
v0.0.2
Published
cli for dpa news
Downloads
6
Readme
Build a JavaScript Command Line Interface (CLI) for dpa news
USAGE
dpa-cli receive <url> <file>
ARGUMENTS
<url> URL of JSON feed required
<file> path of file required
OPTIONS
--forever [int] poll URL every <int> seconds, 0 to turn off optional default: 40
GLOBAL OPTIONS
-h, --help Display help
-V, --version Display version
--no-color Disable colors
--quiet Quiet mode - only displays warn and error messages
-v, --verbose Verbose mode - will also output debug messages Installation Steps
- Clone repo
- Run
npm install - Install the module globally with
npm install -g
Sources
Inspired by: https://www.sitepoint.com/javascript-command-line-interface-cli-node-js
