commands

package
v0.17.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	DefaultConfigBasename = "config"
	DefaultConfigType     = "toml"
)

Variables

View Source
var BurrowCmd = &cobra.Command{
	Use:   "burrow",
	Short: "burrow is the node server of a burrow chain",
	Long: `burrow is the node server of a burrow chain.  burrow combines
a modular consensus engine and application manager to run a chain to suit
your needs.

Made with <3 by Monax Industries.

Complete documentation is available at https://monax.io/docs
` + "\nVERSION:\n " + version.VERSION,
	Run: func(cmd *cobra.Command, args []string) { cmd.Help() },
}
View Source
var DefaultConfigFilename = fmt.Sprintf("%s.%s",
	DefaultConfigBasename,
	DefaultConfigType)

Functions

func AddCommands

func AddCommands(do *definitions.Do)

func AddGlobalFlags

func AddGlobalFlags(do *definitions.Do)

func Execute

func Execute()

func NewCoreFromDo added in v0.16.0

func NewCoreFromDo(do *definitions.Do) (*core.Core, error)

------------------------------------------------------------------------------ functions

func ServeRunner added in v0.16.0

func ServeRunner(do *definitions.Do) func(*cobra.Command, []string)

ServeRunner() returns a command runner that prepares the environment and sets up the core for burrow to run. After the setup succeeds, it starts the core and waits for the core to terminate.

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