commands

package
v0.12.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2016 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Made with <3 by Eris Industries.

Complete documentation is available at https://monax.io/docs/documentation
` + "\nVERSION:\n " + version.VERSION,
	PersistentPreRun: func(cmd *cobra.Command, args []string) {
		log.SetLevel(log.WarnLevel)
		if clientDo.Verbose {
			log.SetLevel(log.InfoLevel)
		} else if clientDo.Debug {
			log.SetLevel(log.DebugLevel)
		}
	},
	Run: func(cmd *cobra.Command, args []string) { cmd.Help() },
}
View Source
var StatusCmd = &cobra.Command{
	Use:   "status",
	Short: "eris-client status returns the current status from a chain.",
	Long: `eris-client status returns the current status from a chain.
`,
	Run: func(cmd *cobra.Command, args []string) {
		methods.Status(clientDo)
	},
}
View Source
var TransactionCmd = &cobra.Command{
	Use:   "tx",
	Short: "eris-client tx formulates and signs a transaction to a chain",
	Long: `eris-client tx formulates and signs a transaction to a chain.
`,
	Run: func(cmd *cobra.Command, args []string) { cmd.Help() },
}

Functions

func AddClientCommands

func AddClientCommands()

func AddGlobalFlags

func AddGlobalFlags()

func Execute

func Execute()

func InitErisClientInit

func InitErisClientInit()

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