commands

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2019 License: GPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ClaimCommands = []cli.Command{
	{
		Name:  "claim",
		Usage: "claim add",
		Subcommands: []cli.Command{{
			Name:   "add",
			Usage:  "claim add",
			Action: cmdAddClaim,
		}},
	},
	{
		Name:  "claims",
		Usage: "claims import from file",
		Subcommands: []cli.Command{{
			Name:   "fromfile",
			Usage:  "import claims from file",
			Action: cmdAddClaimsFromFile,
		}},
	},
}
View Source
var ContractCommands = []cli.Command{{
	Name:  "contract",
	Usage: "operate with contracts",
	Subcommands: []cli.Command{
		{
			Name:   "info",
			Usage:  "show information about contracts",
			Action: cmdContractInfo,
		},
		{
			Name:   "deploy",
			Usage:  "deploy contract",
			Action: cmdContractDeploy,
		},
	},
}}
View Source
var DbCommands = []cli.Command{{
	Name:  "db",
	Usage: "operate with database",
	Subcommands: []cli.Command{
		{
			Name:   "rawdump",
			Usage:  "dump database raw key values",
			Action: genericserver.CmdDbRawDump,
		},
		{
			Name:   "rawimport",
			Usage:  "import database raw from dumped key values",
			Action: genericserver.CmdDbRawImport,
		},
		{
			Name:   "ipfsexport",
			Usage:  "export database values to ipfs",
			Action: genericserver.CmdDbIPFSexport,
		},
	},
}}
View Source
var IdCommands = []cli.Command{{
	Name:    "id",
	Aliases: []string{},
	Usage:   "operate with identities",
	Subcommands: []cli.Command{
		{
			Name:   "info",
			Usage:  "show information about identity",
			Action: cmdIdInfo,
		},
		{
			Name:   "list",
			Usage:  "list identities",
			Action: cmdIdList,
		},
		{
			Name:   "add",
			Usage:  "add new identity to db",
			Action: cmdIdAdd,
		},
		{
			Name:   "deploy",
			Usage:  "deploy new identity",
			Action: cmdIdDeploy,
		},
	},
}}
View Source
var ServerCommands = []cli.Command{
	{
		Name:    "init",
		Aliases: []string{},
		Usage:   "create keys and identity for the server",
		Action:  genericserver.CmdNewIdentity,
	},
	{
		Name:    "start",
		Aliases: []string{},
		Usage:   "start the server",
		Action:  cmdStart,
	},
	{
		Name:    "stop",
		Aliases: []string{},
		Usage:   "stops the server",
		Action:  cmdStop,
	},
	{
		Name:    "info",
		Aliases: []string{},
		Usage:   "server status",
		Action:  cmdInfo,
	},
}

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