flags

package
v0.5.5-jatov2-rc.2 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2023 License: GPL-3.0 Imports: 3 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 AddNetworkFlag added in v1.1.0

func AddNetworkFlag(c *cobra.Command)

AddNetworkFlag adds the network 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 GetNetworkFlag added in v1.1.0

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

GetNetworkFlag gets the network 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