This repository has been archived by the owner on Apr 15, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
685 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
# `lisk account` | ||
|
||
Commands relating to Lisk accounts. | ||
|
||
* [`lisk account:create`](#lisk-account-create) | ||
* [`lisk account:get ADDRESSES`](#lisk-account-get-addresses) | ||
* [`lisk account:show`](#lisk-account-show) | ||
|
||
## `lisk account:create` | ||
|
||
Returns a randomly-generated mnemonic passphrase with its corresponding public/private key pair and Lisk address. | ||
|
||
``` | ||
USAGE | ||
$ lisk account:create | ||
OPTIONS | ||
-j, --[no-]json Prints output in JSON format. You can change the default behaviour in your config.json file. | ||
--[no-]pretty Prints JSON in pretty format rather than condensed. Has no effect if the output is set to table. You | ||
can change the default behaviour in your config.json file. | ||
DESCRIPTION | ||
Returns a randomly-generated mnemonic passphrase with its corresponding public/private key pair and Lisk address. | ||
EXAMPLE | ||
account:create | ||
``` | ||
|
||
## `lisk account:get ADDRESSES` | ||
|
||
Gets account information from the blockchain. | ||
|
||
``` | ||
USAGE | ||
$ lisk account:get ADDRESSES | ||
ARGUMENTS | ||
ADDRESSES Comma-separated address(es) to get information about. | ||
OPTIONS | ||
-j, --[no-]json Prints output in JSON format. You can change the default behaviour in your config.json file. | ||
--[no-]pretty Prints JSON in pretty format rather than condensed. Has no effect if the output is set to table. You | ||
can change the default behaviour in your config.json file. | ||
DESCRIPTION | ||
Gets account information from the blockchain. | ||
EXAMPLES | ||
account:get 3520445367460290306L | ||
account:get 3520445367460290306L,2802325248134221536L | ||
``` | ||
|
||
## `lisk account:show` | ||
|
||
Shows account information for a given passphrase. | ||
|
||
``` | ||
USAGE | ||
$ lisk account:show | ||
OPTIONS | ||
-j, --[no-]json | ||
Prints output in JSON format. You can change the default behaviour in your config.json file. | ||
-p, --passphrase=passphrase | ||
Specifies a source for your secret passphrase. Lisk Commander will prompt you for input if this option is not set. | ||
Source must be one of `prompt`, `pass`, `env`, `file` or `stdin`. For `pass`, `env` and `file` a corresponding | ||
identifier must also be provided. | ||
Examples: | ||
- --passphrase=prompt (default behaviour) | ||
- --passphrase='pass:my secret passphrase' (should only be used where security is not important) | ||
- --passphrase=env:SECRET_PASSPHRASE | ||
- --passphrase=file:/path/to/my/passphrase.txt (takes the first line only) | ||
- --passphrase=stdin (takes one line only) | ||
--[no-]pretty | ||
Prints JSON in pretty format rather than condensed. Has no effect if the output is set to table. You can change the | ||
default behaviour in your config.json file. | ||
DESCRIPTION | ||
Shows account information for a given passphrase. | ||
EXAMPLE | ||
account:show | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# `lisk block` | ||
|
||
Commands relating to Lisk blocks. | ||
|
||
* [`lisk block:get BLOCKIDS`](#lisk-block-get-blockids) | ||
|
||
## `lisk block:get BLOCKIDS` | ||
|
||
Gets block information from the blockchain. | ||
|
||
``` | ||
USAGE | ||
$ lisk block:get BLOCKIDS | ||
ARGUMENTS | ||
BLOCKIDS Comma-separated block ID(s) to get information about. | ||
OPTIONS | ||
-j, --[no-]json Prints output in JSON format. You can change the default behaviour in your config.json file. | ||
--[no-]pretty Prints JSON in pretty format rather than condensed. Has no effect if the output is set to table. You | ||
can change the default behaviour in your config.json file. | ||
DESCRIPTION | ||
Gets block information from the blockchain. | ||
EXAMPLES | ||
block:get 17108498772892203620 | ||
block:get 17108498772892203620,8541428004955961162 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# `lisk config` | ||
|
||
Manages Lisk Commander configuration. | ||
|
||
* [`lisk config:set VARIABLE [VALUES]`](#lisk-config-set-variable-values) | ||
* [`lisk config:show`](#lisk-config-show) | ||
|
||
## `lisk config:set VARIABLE [VALUES]` | ||
|
||
Sets configuration. | ||
|
||
``` | ||
USAGE | ||
$ lisk config:set VARIABLE [VALUES] | ||
OPTIONS | ||
-j, --[no-]json Prints output in JSON format. You can change the default behaviour in your config.json file. | ||
--[no-]pretty Prints JSON in pretty format rather than condensed. Has no effect if the output is set to table. You | ||
can change the default behaviour in your config.json file. | ||
DESCRIPTION | ||
Sets configuration. | ||
... | ||
Variables available: api.nodes, api.network, json, pretty. | ||
EXAMPLES | ||
config:set json true | ||
config:set api.network main | ||
config:set api.nodes https://127.0.0.1:4000,http://mynode.com:7000 | ||
``` | ||
|
||
## `lisk config:show` | ||
|
||
Prints the current configuration. | ||
|
||
``` | ||
USAGE | ||
$ lisk config:show | ||
OPTIONS | ||
-j, --[no-]json Prints output in JSON format. You can change the default behaviour in your config.json file. | ||
--[no-]pretty Prints JSON in pretty format rather than condensed. Has no effect if the output is set to table. You | ||
can change the default behaviour in your config.json file. | ||
DESCRIPTION | ||
Prints the current configuration. | ||
EXAMPLE | ||
config:show | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# `lisk copyright` | ||
|
||
Displays copyright notice. | ||
|
||
* [`lisk copyright`](#lisk-copyright) | ||
|
||
## `lisk copyright` | ||
|
||
Displays copyright notice. | ||
|
||
``` | ||
USAGE | ||
$ lisk copyright | ||
OPTIONS | ||
-j, --[no-]json Prints output in JSON format. You can change the default behaviour in your config.json file. | ||
--[no-]pretty Prints JSON in pretty format rather than condensed. Has no effect if the output is set to table. You | ||
can change the default behaviour in your config.json file. | ||
DESCRIPTION | ||
Displays copyright notice. | ||
EXAMPLE | ||
copyright | ||
``` |
Oops, something went wrong.