cli

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 27, 2019 License: MIT Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CLICommands = map[string]func([]string, wire.EventBroker, *wire.RPCBus){
	"help":                showHelp,
	"createwallet":        createWalletCMD,
	"loadwallet":          loadWalletCMD,
	"createfromseed":      createFromSeedCMD,
	"balance":             balanceCMD,
	"transfer":            transferCMD,
	"stake":               sendStakeCMD,
	"bid":                 sendBidCMD,
	"sync":                syncWalletCMD,
	"startprovisioner":    startProvisioner,
	"startblockgenerator": startBlockGenerator,
	"exit":                stopNode,
	"quit":                stopNode,
}

CLICommands holds all of the wallet commands that the user can call through the interactive shell.

View Source
var DBInstance *walletdb.DB

DBInstance will be used to close any open connections to the database

Functions

func Start

func Start(eventBroker wire.EventBroker, rpcBus *wire.RPCBus, logFile *os.File)

Start the interactive shell.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL