@nexex/cli
Version:
1 lines • 11.9 kB
JSON
{"version":"0.10.7","commands":{"config:del":{"id":"config:del","description":"delete a config item","pluginName":"@nexex/cli","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"endpoint":{"name":"endpoint","type":"option","char":"e","default":"https://kovan-ob.nexex.info"},"showAddr":{"name":"showAddr","type":"boolean","char":"a","allowNo":false}},"args":[{"name":"key"}]},"config:get":{"id":"config:get","description":"get a config's value","pluginName":"@nexex/cli","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"endpoint":{"name":"endpoint","type":"option","char":"e","default":"https://kovan-ob.nexex.info"},"showAddr":{"name":"showAddr","type":"boolean","char":"a","allowNo":false}},"args":[{"name":"key"}]},"config:list":{"id":"config:list","description":"list all configs","pluginName":"@nexex/cli","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"endpoint":{"name":"endpoint","type":"option","char":"e","default":"https://kovan-ob.nexex.info"},"showAddr":{"name":"showAddr","type":"boolean","char":"a","allowNo":false}},"args":[{"name":"file"}]},"config:set":{"id":"config:set","description":"set a config item","pluginName":"@nexex/cli","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"endpoint":{"name":"endpoint","type":"option","char":"e","default":"https://kovan-ob.nexex.info"},"showAddr":{"name":"showAddr","type":"boolean","char":"a","allowNo":false}},"args":[{"name":"key"},{"name":"value"}]},"daemon:start":{"id":"daemon:start","description":"start a local orderbook service","pluginName":"@nexex/cli","pluginType":"core","aliases":[],"examples":["$ nexex-cli daemon:start\nstart a local orderbook service at port 3001\n"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"endpoint":{"name":"endpoint","type":"option","char":"e","default":"https://kovan-ob.nexex.info"},"showAddr":{"name":"showAddr","type":"boolean","char":"a","allowNo":false},"market":{"name":"market","type":"option","char":"m","required":true},"config":{"name":"config","type":"option","char":"c"}},"args":[]},"daemon:status":{"id":"daemon:status","description":"query status of orderbook service","pluginName":"@nexex/cli","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"endpoint":{"name":"endpoint","type":"option","char":"e","default":"https://kovan-ob.nexex.info"},"showAddr":{"name":"showAddr","type":"boolean","char":"a","allowNo":false},"config":{"name":"config","type":"option","char":"c"}},"args":[]},"daemon:stop":{"id":"daemon:stop","description":"stop the services","pluginName":"@nexex/cli","pluginType":"core","aliases":[],"examples":["$ nexex-cli hello\nhello world from ./src/hello.ts!\n"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"endpoint":{"name":"endpoint","type":"option","char":"e","default":"https://kovan-ob.nexex.info"},"showAddr":{"name":"showAddr","type":"boolean","char":"a","allowNo":false},"config":{"name":"config","type":"option","char":"c"}},"args":[]},"market:buy":{"id":"market:buy","description":"place a buy order to a orderbook relayer","pluginName":"@nexex/cli","pluginType":"core","aliases":[],"examples":["$ nexex-cli market:buy --amount 0.3 --price 0.11 --expire 1d\n Enter the passphrase to use the wallet and sign the order. \n"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"endpoint":{"name":"endpoint","type":"option","char":"e","default":"https://kovan-ob.nexex.info"},"showAddr":{"name":"showAddr","type":"boolean","char":"a","allowNo":false},"market":{"name":"market","type":"option"},"amount":{"name":"amount","type":"option"},"price":{"name":"price","type":"option"},"expire":{"name":"expire","type":"option"}},"args":[]},"market:cancel":{"id":"market:cancel","description":"describe the command here","pluginName":"@nexex/cli","pluginType":"core","aliases":[],"examples":["$ nexex-cli hello\nhello world from ./src/hello.ts!\n"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"endpoint":{"name":"endpoint","type":"option","char":"e","default":"https://kovan-ob.nexex.info"},"showAddr":{"name":"showAddr","type":"boolean","char":"a","allowNo":false},"market":{"name":"market","type":"option"}},"args":[{"name":"orderHash","required":true},{"name":"amount"}]},"market:list":{"id":"market:list","description":"describe the command here","pluginName":"@nexex/cli","pluginType":"core","aliases":[],"examples":["$ nexex-cli hello\nhello world from ./src/hello.ts!\n"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"endpoint":{"name":"endpoint","type":"option","char":"e","default":"https://kovan-ob.nexex.info"},"showAddr":{"name":"showAddr","type":"boolean","char":"a","allowNo":false},"market":{"name":"market","type":"option"}},"args":[]},"market:order":{"id":"market:order","description":"query top orders from a relayer","pluginName":"@nexex/cli","pluginType":"core","aliases":[],"examples":["$ nexex-cli market:order --limit 5\n"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"endpoint":{"name":"endpoint","type":"option","char":"e","default":"https://kovan-ob.nexex.info"},"showAddr":{"name":"showAddr","type":"boolean","char":"a","allowNo":false},"market":{"name":"market","type":"option"},"limit":{"name":"limit","type":"option","char":"l","default":5}},"args":[]},"market:sell":{"id":"market:sell","description":"place a sell order to a orderbook relayer","pluginName":"@nexex/cli","pluginType":"core","aliases":[],"examples":["$ nexex-cli market:sell --amount 0.3 --price 0.11 --expire 1d\n Enter the passphrase to use the wallet and sign the order. \n"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"endpoint":{"name":"endpoint","type":"option","char":"e","default":"https://kovan-ob.nexex.info"},"showAddr":{"name":"showAddr","type":"boolean","char":"a","allowNo":false},"market":{"name":"market","type":"option"},"amount":{"name":"amount","type":"option"},"price":{"name":"price","type":"option"},"expire":{"name":"expire","type":"option"}},"args":[]},"market:trade":{"id":"market:trade","description":"describe the command here","pluginName":"@nexex/cli","pluginType":"core","aliases":[],"examples":["$ nexex-cli hello\nhello world from ./src/hello.ts!\n"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"endpoint":{"name":"endpoint","type":"option","char":"e","default":"https://kovan-ob.nexex.info"},"showAddr":{"name":"showAddr","type":"boolean","char":"a","allowNo":false},"market":{"name":"market","type":"option"}},"args":[{"name":"orderHash","required":true},{"name":"amount"}]},"token:add":{"id":"token:add","description":"describe the command here","pluginName":"@nexex/cli","pluginType":"core","aliases":[],"examples":["$ nexex-cli hello\nhello world from ./src/hello.ts!\n"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"endpoint":{"name":"endpoint","type":"option","char":"e","default":"https://kovan-ob.nexex.info"},"showAddr":{"name":"showAddr","type":"boolean","char":"a","allowNo":false}},"args":[{"name":"token"}]},"token:approve":{"id":"token:approve","description":"describe the command here","pluginName":"@nexex/cli","pluginType":"core","aliases":[],"examples":["$ nexex-cli hello\nhello world from ./src/hello.ts!\n"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"endpoint":{"name":"endpoint","type":"option","char":"e","default":"https://kovan-ob.nexex.info"},"showAddr":{"name":"showAddr","type":"boolean","char":"a","allowNo":false}},"args":[{"name":"token"}]},"token:eth2weth":{"id":"token:eth2weth","description":"describe the command here","pluginName":"@nexex/cli","pluginType":"core","aliases":[],"examples":["$ nexex-cli hello\nhello world from ./src/hello.ts!\n"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"endpoint":{"name":"endpoint","type":"option","char":"e","default":"https://kovan-ob.nexex.info"},"showAddr":{"name":"showAddr","type":"boolean","char":"a","allowNo":false}},"args":[{"name":"amount"}]},"token:revoke":{"id":"token:revoke","description":"describe the command here","pluginName":"@nexex/cli","pluginType":"core","aliases":[],"examples":["$ nexex-cli hello\nhello world from ./src/hello.ts!\n"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"endpoint":{"name":"endpoint","type":"option","char":"e","default":"https://kovan-ob.nexex.info"},"showAddr":{"name":"showAddr","type":"boolean","char":"a","allowNo":false}},"args":[{"name":"token"}]},"token:show":{"id":"token:show","description":"describe the command here","pluginName":"@nexex/cli","pluginType":"core","aliases":[],"examples":["$ nexex-cli hello\nhello world from ./src/hello.ts!\n"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"endpoint":{"name":"endpoint","type":"option","char":"e","default":"https://kovan-ob.nexex.info"},"showAddr":{"name":"showAddr","type":"boolean","char":"a","allowNo":false}},"args":[]},"token:weth2eth":{"id":"token:weth2eth","description":"describe the command here","pluginName":"@nexex/cli","pluginType":"core","aliases":[],"examples":["$ nexex-cli hello\nhello world from ./src/hello.ts!\n"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"endpoint":{"name":"endpoint","type":"option","char":"e","default":"https://kovan-ob.nexex.info"},"showAddr":{"name":"showAddr","type":"boolean","char":"a","allowNo":false}},"args":[{"name":"amount"}]},"ui:start":{"id":"ui:start","description":"start a local orderbook service","pluginName":"@nexex/cli","pluginType":"core","aliases":[],"examples":["$ nexex-cli ui:start\nstart a local orderbook service at port 3001\n"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"endpoint":{"name":"endpoint","type":"option","char":"e","default":"https://kovan-ob.nexex.info"},"showAddr":{"name":"showAddr","type":"boolean","char":"a","allowNo":false}},"args":[]},"wallet:import":{"id":"wallet:import","description":"describe the command here","pluginName":"@nexex/cli","pluginType":"core","aliases":[],"examples":["$ nexex-cli hello\nhello world from ./src/hello.ts!\n"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"endpoint":{"name":"endpoint","type":"option","char":"e","default":"https://kovan-ob.nexex.info"},"showAddr":{"name":"showAddr","type":"boolean","char":"a","allowNo":false}},"args":[{"name":"pk"}]},"wallet:show":{"id":"wallet:show","description":"describe the command here","pluginName":"@nexex/cli","pluginType":"core","aliases":[],"examples":["$ nexex-cli hello\nhello world from ./src/hello.ts!\n"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"endpoint":{"name":"endpoint","type":"option","char":"e","default":"https://kovan-ob.nexex.info"},"showAddr":{"name":"showAddr","type":"boolean","char":"a","allowNo":false}},"args":[]}}}