Constructor
new CLI(settingsopt)
Create a terminal-based interface for a User.
Parameters:
Name | Type | Attributes | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
settings |
Object |
<optional> |
Configuration values.
Properties
|
- Source:
Methods
(async) _handleGrantCommand(params)
Creates a token for the target signer with a provided role and some optional data.
Parameters:
Name | Type | Description |
---|---|---|
params |
Array | Parameters array. |
- Source:
(async) start()
Starts (and renders) the CLI.
- Source:
(async) stop()
Disconnect all interfaces and exit the process.
- Source: