commands

package
v0.17.1 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2017 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AccountsPathFlag   string
	ValidatorsPathFlag string
)

TODO refactor these vars into a struct?

View Source
var BurrowClientCmd = &cobra.Command{
	Use:   "burrow-client",
	Short: "burrow-client interacts with a running burrow chain.",
	Long: `burrow-client interacts with a running burrow chain.

Made with <3 by Monax Industries.

Complete documentation is available at https://monax.io/docs
` + "\nVERSION:\n " + version.GetSemanticVersionString(),
	Run: func(cmd *cobra.Command, args []string) { cmd.Help() },
}
View Source
var GenesisGenCmd = &cobra.Command{
	Use:   "make-genesis",
	Short: "burrow-client make-genesis creates a genesis.json with known inputs",
	Long:  "burrow-client make-genesis creates a genesis.json with known inputs",

	Run: func(cmd *cobra.Command, args []string) {

		genesisFile, err := genesis.GenerateKnown(args[0], AccountsPathFlag, ValidatorsPathFlag)
		if err != nil {
			sanity.PanicSanity(err)
		}
		fmt.Println(genesisFile)
	},
}

Functions

func AddClientCommands

func AddClientCommands()

func AddGlobalFlags

func AddGlobalFlags()

func Execute

func Execute()

func InitBurrowClientInit added in v0.16.2

func InitBurrowClientInit()

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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