flags

package
v0.4.2-doc Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2019 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KeystorePath = "keystore"
	Endpoint     = "endpoint"
	ContractAddr = "contractaddr"
)

Variables

View Source
var GeneralFlags = []cli.Flag{
	cli.StringFlag{
		Name:  KeystorePath,
		Usage: "Keystore file path for contract admin",
	},
	cli.StringFlag{
		Name:  Endpoint,
		Usage: "Endpoint to interact with",
	},
	cli.StringFlag{
		Name:  ContractAddr,
		Usage: "Contract address",
	},
}

Functions

func GetByName

func GetByName(name string) cli.Flag

func GetContractAddress

func GetContractAddress(ctx *cli.Context) common.Address

func GetEndpoint

func GetEndpoint(ctx *cli.Context) string

func GetKeystorePath

func GetKeystorePath(ctx *cli.Context) string

func Register

func Register(flags ...cli.Flag)

Types

This section is empty.

Jump to

Keyboard shortcuts

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