cmd

package
v1.4.1-0...-0702f9d Latest Latest
Warning

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

Go to latest
Published: May 5, 2021 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const ACCOUNT_CMD = "account"
View Source
const GENERATE_CMD = "generate"
View Source
const LEGACY_ADDRESS_CMD = "legacy-address"
View Source
const PRINCIPAL_CMD = "principal"
View Source
const PRIVATE_KEY_CMD = "private-key"
View Source
const PUBLIC_KEY_CMD = "public-key"
View Source
const VERSION_CMD = "version"
View Source
const X_PUBLIC_KEY_CMD = "x-public-key"

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountCmd

type AccountCmd struct {
	FlagSet *flag.FlagSet
	Args    *AccountCmdArgs
}

func NewAccountCmd

func NewAccountCmd(filename string) *AccountCmd

func (*AccountCmd) Run

func (cmd *AccountCmd) Run() error

type AccountCmdArgs

type AccountCmdArgs struct {
	SeedFile  *string
	Index     *uint
	Protected *bool
}

type GenerateCmd

type GenerateCmd struct {
	FlagSet *flag.FlagSet
	Args    *GenerateCmdArgs
}

func NewGenerateCmd

func NewGenerateCmd(filename string) *GenerateCmd

func (*GenerateCmd) Run

func (cmd *GenerateCmd) Run() error

type GenerateCmdArgs

type GenerateCmdArgs struct {
	OutputFile *string
}

type LegacyAddressCmd

type LegacyAddressCmd struct {
	FlagSet *flag.FlagSet
	Args    *LegacyAddressCmdArgs
}

func NewLegacyAddressCmd

func NewLegacyAddressCmd(filename string) *LegacyAddressCmd

func (*LegacyAddressCmd) Run

func (cmd *LegacyAddressCmd) Run() error

type LegacyAddressCmdArgs

type LegacyAddressCmdArgs struct {
	SeedFile  *string
	Index     *uint
	Protected *bool
}

type PrincipalCmd

type PrincipalCmd struct {
	FlagSet *flag.FlagSet
	Args    *PrincipalCmdArgs
}

func NewPrincipalCmd

func NewPrincipalCmd(filename string) *PrincipalCmd

func (*PrincipalCmd) Run

func (cmd *PrincipalCmd) Run() error

type PrincipalCmdArgs

type PrincipalCmdArgs struct {
	SeedFile  *string
	Index     *uint
	Protected *bool
}

type PrivateKeyCmd

type PrivateKeyCmd struct {
	FlagSet *flag.FlagSet
	Args    *PrivateKeyCmdArgs
}

func NewPrivateKeyCmd

func NewPrivateKeyCmd(filename string) *PrivateKeyCmd

func (*PrivateKeyCmd) Run

func (cmd *PrivateKeyCmd) Run() error

type PrivateKeyCmdArgs

type PrivateKeyCmdArgs struct {
	Index      *uint
	OutputFile *string
	Protected  *bool
	SeedFile   *string
}

type PublicKeyCmd

type PublicKeyCmd struct {
	FlagSet *flag.FlagSet
	Args    *PublicKeyCmdArgs
}

func NewPublicKeyCmd

func NewPublicKeyCmd(filename string) *PublicKeyCmd

func (*PublicKeyCmd) Run

func (cmd *PublicKeyCmd) Run() error

type PublicKeyCmdArgs

type PublicKeyCmdArgs struct {
	SeedFile  *string
	Index     *uint
	Protected *bool
}

type VersionCmd

type VersionCmd struct {
	Version string
}

func NewVersionCmd

func NewVersionCmd(version string) *VersionCmd

func (*VersionCmd) Run

func (cmd *VersionCmd) Run() error

type XPublicKeyCmd

type XPublicKeyCmd struct {
	FlagSet *flag.FlagSet
	Args    *XPublicKeyCmdArgs
}

func NewXPublicKeyCmd

func NewXPublicKeyCmd(filename string) *XPublicKeyCmd

func (*XPublicKeyCmd) Run

func (cmd *XPublicKeyCmd) Run() error

type XPublicKeyCmdArgs

type XPublicKeyCmdArgs struct {
	SeedFile  *string
	Protected *bool
}

Jump to

Keyboard shortcuts

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