WDX-CLI

Commands Overview

config

Returns WDX service configuration file location.

Example:

wdx config
wdx config

Output:

delete

Deletes WDX instance. Stops and delete instance from WDX service.

Example:

wdx delete
wdx delete

help

Displays help for WDX-CLI tool.

Example:

wdx help
wdx help

info

Displays information about WDX service.

Example:

wdx info --instance.uuid=fc3a74b6-014c-11ef-beec-088fc37eff34
wdx info --instance.uuid=fc3a74b6-014c-11ef-beec-088fc37eff34

list

Lists WDX service instances with it's status and basic information about process.

Example:

wdx list
wdx list

logs

Display WDX service instance logs continuosly.

Example:

wdx logs --instance.uuid=fc3a74b6-014c-11ef-beec-088fc37eff34
wdx logs --instance.uuid=fc3a74b6-014c-11ef-beec-088fc37eff34

monitor

DIsplays WDX service monitoring instance informations.

Example:

wdx monitor
wdx monitor

Output
wdx monitor

restart

Restarts WDX service.

Example:

wdx restart --instance.uuid=fc3a74b6-014c-11ef-beec-088fc37eff34
wdx restart --instance.uuid=fc3a74b6-014c-11ef-beec-088fc37eff34

start

Starts WDX service.

Options:
--instance.uuid

Example:

wdx start --instance.uuid=fc3a74b6-014c-11ef-beec-088fc37eff34
wdx start --instance.uuid=fc3a74b6-014c-11ef-beec-088fc37eff34

status

DIsplays WDX service status.

Example:

wdx status --instance.uuid=fc3a74b6-014c-11ef-beec-088fc37eff34
wdx status --instance.uuid=fc3a74b6-014c-11ef-beec-088fc37eff34

Output:
wdx status

stop

Stops WDX service instance.

Example:

wdx stop --instance.uuid=fc3a74b6-014c-11ef-beec-088fc37eff34
wdx stop --instance.uuid=fc3a74b6-014c-11ef-beec-088fc37eff34

version

Displays WDX version

Example:

/home/wdx # wdx version 0.0.41
/home/wdx # wdx version
0.0.41

whois

Displays whois WDX service informations.

Example:

/home/wdx # wdx whois --instance.name=NodeRED
/home/wdx # wdx whois --instance.name=NodeRED

Output:

executionOptions: mode : worker script : ./node_modules/.bin/wdx-node-red name : NodeRED uuid : b610dce2-ee8b-11ee-93bf-088fc37eff34 port : 84 level : debug mergeLog : true mergeLogFile : ./logs/NodeRED.log path : socket/NodeRED ipv6Only : false status : online processId : 81690 parentProcessId : 1 threadId : 12
executionOptions:
  mode : worker
  script : ./node_modules/.bin/wdx-node-red
name : NodeRED
uuid : b610dce2-ee8b-11ee-93bf-088fc37eff34
  port : 84
  level : debug
  mergeLog : true
  mergeLogFile : ./logs/NodeRED.log
    path : socket/NodeRED
    ipv6Only : false
status : online
processId : 81690
parentProcessId : 1
threadId : 12