commands

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2020 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AppNameFlag = cli.StringFlag{
		Name:  "name",
		Usage: "Application Name",
	}

	SymbolFlag = cli.StringFlag{
		Name:  "symbol, s",
		Usage: "Currency symbol",
	}

	BatchFlag = cli.BoolFlag{
		Name:  "batch",
		Usage: "Create address with batch",
	}

	InitFlag = cli.BoolFlag{
		Name:  "i, init",
		Usage: "Init operate",
	}

	LogDirFlag = cli.StringFlag{
		Name:  "logdir",
		Usage: "log files directory",
	}

	DebugFlag = cli.BoolFlag{
		Name:  "debug",
		Usage: "print debug log info",
	}

	PathFlag = cli.StringFlag{
		Name:  "path, p",
		Usage: "directory path",
	}

	FileFlag = cli.StringFlag{
		Name:  "file, f",
		Usage: "file path",
	}

	ConfFlag = cli.StringFlag{
		Name:  "conf, c",
		Usage: "config file path",
	}
)
View Source
var (
	Version   = ""
	GitRev    = ""
	BuildTime = ""
)
View Source
var (
	// 钱包命令
	CmdVersion = cli.Command{
		Name:      "version",
		Usage:     "show version information",
		ArgsUsage: "",
		Action:    version,
		Category:  "OPENW-CLI COMMANDS",
	}
)
View Source
var (
	// 通信节点命令
	Commands = []cli.Command{
		CmdVersion,
		{

			Name:      "walletserver",
			Usage:     "start the wallet server",
			ArgsUsage: "",
			Action:    walletserver,
			Category:  "BEAM-SERVER COMMANDS",
		},
		{

			Name:      "randomCert",
			Usage:     "random generate a client node cert info",
			ArgsUsage: "",
			Action:    randomGenerateClientInfo,
			Category:  "BEAM-SERVER COMMANDS",
		},
	}
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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