chain

package
v0.0.0-...-ee306bc Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GetCmd = &cobra.Command{
	Use:         "get [key]",
	Short:       "Gets chain value",
	Annotations: map[string]string{"category": "chain"},
	Run:         cmdutil.WrapCommand(HandleGetCmd),
}

GetCmd - Config get command.

View Source
var InitCmd = &cobra.Command{
	Use:   "init [config]",
	Short: "Initializes a chain",
	Long: `Initializes a new chain.

See wallet usage for more information on key derivation path.`,
	Example: `  $ rcx chain init -n mychain -a wallet:1e6:1e6 -a default/x/test:1e6:0
  $ rcx chain init -a zFNScYMGz4wQocWbvHVqS1HcbzNzJB5JK3eAkzF9krbSLZiV8cNr:1`,
	Annotations: map[string]string{"category": "chain"},
	Run:         cmdutil.WrapCommand(HandleInitCmd),
}

InitCmd - Config get command.

View Source
var RootCmd = &cobra.Command{
	Use:         "chain",
	Short:       "Chains commands",
	Annotations: map[string]string{"category": "chain"},
}

RootCmd - Root chain RootCmd.

Functions

func HandleGetCmd

func HandleGetCmd(cmd *cobra.Command, args []string) (err error)

HandleGetCmd - Handles chain get command.

func HandleInitCmd

func HandleInitCmd(cmd *cobra.Command, args []string) (err error)

HandleInitCmd - Handles chain init command.

Types

This section is empty.

Jump to

Keyboard shortcuts

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