Class: CLI

CLI(settingsopt)

Provides a Command Line Interface (CLI) for interacting with the Fabric network using a terminal emulator.

Constructor

new CLI(settingsopt)

Create a terminal-based interface for a User.
Parameters:
Name Type Attributes Description
settings Object <optional>
Configuration values.
Properties
Name Type Attributes Description
currencies Array <optional>
List of currencies to support.
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: