account

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2023 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	URIKey     = "uri"
	ChainIDKey = "chain-id"
	AddressKey = "address"
	AssetIDKey = "asset-id"
)

Variables

This section is empty.

Functions

func AddFlags

func AddFlags(flags *pflag.FlagSet)

func Command

func Command() *cobra.Command

Types

type Config

type Config struct {
	URI     string
	ChainID string
	Address ids.ShortID
	AssetID ids.ID
}

func ParseFlags

func ParseFlags(flags *pflag.FlagSet, args []string) (*Config, error)

Jump to

Keyboard shortcuts

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