Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including @nexex/cli with all npm packages installed. Try it out:

var cli = require("@nexex/cli")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@nexex/cli v0.10.7

@nexex/cli

oclif Version Downloads/week License

* [Usage](#usage) * [Commands](#commands) # Usage ```sh-session $ npm install -g @nexex/cli $ nexex-cli COMMAND running command... $ nexex-cli (-v|--version|version) @nexex/cli/0.10.7 darwin-x64 node-v10.16.0 $ nexex-cli --help [COMMAND] USAGE $ nexex-cli COMMAND ... ``` # Commands * [`nexex-cli config:del [KEY]`](#nexex-cli-configdel-key) * [`nexex-cli config:get [KEY]`](#nexex-cli-configget-key) * [`nexex-cli config:list [FILE]`](#nexex-cli-configlist-file) * [`nexex-cli config:set [KEY] [VALUE]`](#nexex-cli-configset-key-value) * [`nexex-cli daemon:start`](#nexex-cli-daemonstart) * [`nexex-cli daemon:status`](#nexex-cli-daemonstatus) * [`nexex-cli daemon:stop`](#nexex-cli-daemonstop) * [`nexex-cli help [COMMAND]`](#nexex-cli-help-command)

nexex-cli config:del [KEY]

delete a config item

USAGE
  $ nexex-cli config:del [KEY]

OPTIONS
  -a, --showAddr
  -e, --endpoint=endpoint  [default: https://kovan-ob.nexex.info]
  -h, --help               show CLI help

See code: src/commands/config/del.ts

nexex-cli config:get [KEY]

get a config's value

USAGE
  $ nexex-cli config:get [KEY]

OPTIONS
  -a, --showAddr
  -e, --endpoint=endpoint  [default: https://kovan-ob.nexex.info]
  -h, --help               show CLI help

See code: src/commands/config/get.ts

nexex-cli config:list [FILE]

list all configs

USAGE
  $ nexex-cli config:list [FILE]

OPTIONS
  -a, --showAddr
  -e, --endpoint=endpoint  [default: https://kovan-ob.nexex.info]
  -h, --help               show CLI help

See code: src/commands/config/list.ts

nexex-cli config:set [KEY] [VALUE]

set a config item

USAGE
  $ nexex-cli config:set [KEY] [VALUE]

OPTIONS
  -a, --showAddr
  -e, --endpoint=endpoint  [default: https://kovan-ob.nexex.info]
  -h, --help               show CLI help

See code: src/commands/config/set.ts

nexex-cli daemon:start

start a local orderbook service

USAGE
  $ nexex-cli daemon:start

OPTIONS
  -a, --showAddr
  -c, --config=config
  -e, --endpoint=endpoint  [default: https://kovan-ob.nexex.info]
  -h, --help               show CLI help
  -m, --market=market      (required)

EXAMPLE
  $ nexex-cli daemon:start
  start a local orderbook service at port 3001

See code: src/commands/daemon/start.ts

nexex-cli daemon:status

query status of orderbook service

USAGE
  $ nexex-cli daemon:status

OPTIONS
  -a, --showAddr
  -c, --config=config
  -e, --endpoint=endpoint  [default: https://kovan-ob.nexex.info]
  -h, --help               show CLI help

See code: src/commands/daemon/status.ts

nexex-cli daemon:stop

stop the services

USAGE
  $ nexex-cli daemon:stop

OPTIONS
  -a, --showAddr
  -c, --config=config
  -e, --endpoint=endpoint  [default: https://kovan-ob.nexex.info]
  -h, --help               show CLI help

EXAMPLE
  $ nexex-cli hello
  hello world from ./src/hello.ts!

See code: src/commands/daemon/stop.ts

nexex-cli help [COMMAND]

display help for nexex-cli

USAGE
  $ nexex-cli help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free