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: "XDAG-SERVER COMMANDS", }, { Name: "randomCert", Usage: "random generate a client node cert info", ArgsUsage: "", Action: randomGenerateClientInfo, Category: "XDAG-SERVER COMMANDS", }, } )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.