flags

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2022 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddKeyIndexFlag

func AddKeyIndexFlag(c *cobra.Command)

AddKeyIndexFlag adds the key index flag to the command

func AddKeysCountFlag

func AddKeysCountFlag(c *cobra.Command)

AddKeysCountFlag adds the keys count flag to the command

func AddMnemonicFlag

func AddMnemonicFlag(c *cobra.Command)

AddMnemonicFlag adds the mnemonic key flag to the command

func AddPrivKeyFlag

func AddPrivKeyFlag(c *cobra.Command)

AddPrivKeyFlag adds the private key flag to the command

func GetKeyIndexFlagValue

func GetKeyIndexFlagValue(c *cobra.Command) (uint64, error)

GetKeyIndexFlagValue gets the key index flag to the command

func GetKeysCountFlagValue

func GetKeysCountFlagValue(c *cobra.Command) (uint64, error)

GetKeysCountFlagValue gets the keys count flag from the command

func GetMnemonicFlagValue

func GetMnemonicFlagValue(c *cobra.Command) (string, error)

GetMnemonicFlagValue gets the mnemonic key flag from the command

func GetPrivKeyFlagValue

func GetPrivKeyFlagValue(c *cobra.Command) (string, error)

GetPrivKeyFlagValue gets the private key flag from the command

Types

This section is empty.

Jump to

Keyboard shortcuts

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