cmd

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2019 License: ISC Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "aecli",
	Short: "The command line client for the Aeternity blockchain",
	Long:  ``,
}

RootCmd represents the base command when called without any subcommands

Functions

func Execute

func Execute(v string)

Execute adds all child commands to the root command sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func NewAeCli

func NewAeCli() *aeternity.Ae

NewAeCli is just a helper function that gives you a aeCli so that you don't have to maintain a aeCli global variable (which needs the config vars to be read immediately, with this helper function you can defer the reading of the variables until the subcommand's execution)

Types

This section is empty.

Jump to

Keyboard shortcuts

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