@elasticdataio/worker-cli
v0.1.0
Published
CLI of elasticdata.io worker
Downloads
129
Maintainers
Readme
@elasticdataio/worker-cli
CLI of elasticdata.io worker
Installation
npm i -g --unsafe-perm=true @elasticdataio/worker-cli
Commands
ed-cli help [COMMAND]
display help for ed-cli
USAGE
$ ed-cli help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
ed-cli run -f [path to json file]
Run pipeline from JSON config file
USAGE
$ ed-cli run -f [path to json file]
OPTIONS
-d, --debug Show info, warning and error messages
-f, --file=file Relative or absolute path to json file
-p, --port=port [default: 3002] Listeners port
-t, --timeout=timeout [default: 5] Maximum waiting time for a worker in minutes
--display Display data after worker finishes
--headless Use headless mode
--maxTabs=maxTabs [default: 3] Max chrome tabs
--preconfigured Example preconfigured json file for first start
EXAMPLE
$ ed-cli run -f parse-amazon.json
See code: src/commands/run.ts