Usage

This category details the important information regarding using and configuring Lisk Commander.

Configuration

This section provides a greater understanding of the config.json file and a description of each parameter. The file is stored by default in your home directory, nested inside a .lisky directory. If you would prefer to store it elsewhere, run Lisk Commander with the environmental variable LISKY_CONFIG_DIR set to the path of your choice.

 {
  "name": "lisky", // The name of the tool.
  "json": false, // Provide output as json if set to true, otherwise output is table.
  "liskJS": {
    "testnet": false, // Connect to the testnet if set to true, otherwise connect to the mainnet.
    "node": "", // Specify a custom node address (e.g. IP address). Official Lisk nodes will be used if left blank.
    "port": "", // Specify a custom port for your node. Defaults are 8000 (mainnet), 7000 (testnet) and 443 (SSL).
    "ssl": false // Connect using SSL if set to true.
  },
  "pretty": false // Pretty print JSON output if set to true.
}

Some elements of this configuration can be overridden on the command line using the following options:

Setting Option
Use JSON output --json
Use table output --no-json
Pretty print JSON --pretty
Do not pretty print JSON --pretty false

Interactive and Non-interactive Use

Interactive use

Start Lisk Commander:

 $ lisky
Non-interactive use

Pass arguments and options directly from the command line. E.g.:

 $ lisky get delegate lightcurve  --json

What's next?
Sensitive Inputs