CLI Data Exchange tool
Usage:
$ dx-tools [OPTIONS] COMMAND [ARGS]...Options:
-v, --version: Show the app version and exit.--install-completion: Install completion for the current shell.--show-completion: Show completion for the current shell, to copy it or customize the installation.--help: Show this message and exit.
Commands:
gethubs: Get list of hubs that can be either in form of table or as JSON arraygetprojects: Get list of projects, providing the id of the hub.getfolder: Get the content of a folder, providing its id.exchange: Commands on exchangesitem: Commands on items
Get list of hubs that can be either in form of table or as JSON array
Usage:
$ dx-tools gethubs [OPTIONS]Options:
--raw / --no-raw: get the list of hubs as JSON array [default: no-raw]--help: Show this message and exit.
Get list of projects, providing the id of the hub.
Usage:
$ dx-tools getprojects [OPTIONS] HUBIDArguments:
HUBID: [required]
Options:
--raw / --no-raw: get the list of hubs as JSON array [default: no-raw]--help: Show this message and exit.
Get the content of a folder, providing its id.
Usage:
$ dx-tools getfolder [OPTIONS] IDArguments:
ID: [required]
Options:
--raw / --no-raw: get the list of hubs as JSON array [default: no-raw]--help: Show this message and exit.
Commands on exchanges
Usage:
$ dx-tools exchange [OPTIONS] COMMAND [ARGS]...Options:
--help: Show this message and exit.
Commands:
info: Get info about an exchange by providing the id of the exchange.
Get info about an exchange by providing the id of the exchange.
Usage:
$ dx-tools exchange info [OPTIONS] IDArguments:
ID: [required]
Options:
--raw / --no-raw: get the data on exchange in JSON format [default: no-raw]--help: Show this message and exit.
Commands on items
Usage:
$ dx-tools item [OPTIONS] COMMAND [ARGS]...Options:
--help: Show this message and exit.
Commands:
info: Get info about an item by providing the id of the item.createexchange: Create an exchange given the id of the source file
Get info about an item by providing the id of the item.
Usage:
$ dx-tools item info [OPTIONS] ITEM_IDArguments:
ITEM_ID: [required]
Options:
--raw / --no-raw: get the views as JSON array [default: no-raw]--help: Show this message and exit.
Create an exchange given the id of the source file
Usage:
$ dx-tools item createexchange [OPTIONS] IDArguments:
ID: [required]
Options:
--name TEXT: name of to be created exchange--view TEXT: view name that should be used for creating the exchange--folder TEXT: folder id where the exchange should be created--help: Show this message and exit.