command

package
v0.2.1-alpha.3 Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConfigDumpCmd = &cli.Command{
	Action:   dumpConfigAction,
	Name:     "config.dump",
	Usage:    "Dump default configuration to the './config.toml' file for editing",
	Category: "CONFIG COMMANDS",
	Description: `The config.dump command writes default configuration 
values to ./config.toml file for editing.`,
}
View Source
var ListModularCmd = &cli.Command{
	Action:      listModularAction,
	Name:        "list",
	Usage:       "List the modules in greenfield storage provider",
	Category:    "MISCELLANEOUS COMMANDS",
	Description: `The list command output the services in greenfield storage provider.`,
}
View Source
var P2PCreateKeysCmd = &cli.Command{
	Action: p2pCreateKeysAction,
	Name:   "p2p.create.key",
	Usage:  "Create Secp256k1 key pairs for encrypting p2p protocol msg and identifying p2p node",
	Flags: []cli.Flag{
		number,
	},
	Category: "P2P COMMANDS",
	Description: `The p2p.create.key creates 'n' sets of Secp256k1 key pairs, each key pair contains a private key 
and a node id, the private key is used to encrypt p2p protocol msg, and the node id is use to public
to other p2p nodes for communication by p2p protocol.`,
}
View Source
var QueryTaskCmd = &cli.Command{
	Action:   queryTasksAction,
	Name:     "query.task",
	Usage:    "Query running tasks in modules by task sub key",
	Category: "Query COMMANDS",
	Flags: []cli.Flag{
		utils.ConfigFileFlag,
		endpointFlag,
		keyFlag,
	},
	Description: `Query running tasks in modules by task sub key, 
show the tasks that task key contains the inout key detail info`,
}

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