cmd

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2021 License: MIT Imports: 15 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 SHORTLIST_CMD = "shortlist"
View Source
const VERSION_CMD = "version"
View Source
const X_PRIVATE_KEY_CMD = "x-private-key"
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() *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() *GenerateCmd

func (*GenerateCmd) Run

func (cmd *GenerateCmd) Run() error

type GenerateCmdArgs

type GenerateCmdArgs struct {
	Bits       *int
	OutputFile *string
}

type LegacyAddressCmd

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

func NewLegacyAddressCmd

func NewLegacyAddressCmd() *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() *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() *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() *PublicKeyCmd

func (*PublicKeyCmd) Run

func (cmd *PublicKeyCmd) Run() error

type PublicKeyCmdArgs

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

type ShortlistCmd added in v1.6.0

type ShortlistCmd struct {
}

func NewShortlistCmd added in v1.6.0

func NewShortlistCmd() *ShortlistCmd

func (*ShortlistCmd) Run added in v1.6.0

func (cmd *ShortlistCmd) Run() error

type VersionCmd

type VersionCmd struct {
	Version string
}

func NewVersionCmd

func NewVersionCmd(version string) *VersionCmd

func (*VersionCmd) Run

func (cmd *VersionCmd) Run() error

type XPrivateKeyCmd added in v1.6.0

type XPrivateKeyCmd struct {
	FlagSet *flag.FlagSet
	Args    *XPrivateKeyCmdArgs
}

func NewXPrivateKeyCmd added in v1.6.0

func NewXPrivateKeyCmd() *XPrivateKeyCmd

func (*XPrivateKeyCmd) Run added in v1.6.0

func (cmd *XPrivateKeyCmd) Run() error

type XPrivateKeyCmdArgs added in v1.6.0

type XPrivateKeyCmdArgs struct {
	OutputFile *string
	SeedFile   *string
	Protected  *bool
}

type XPublicKeyCmd

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

func NewXPublicKeyCmd

func NewXPublicKeyCmd() *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