flag

package
v1.1.0-rc.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddSeedsCountFlag

func AddSeedsCountFlag(c *cobra.Command)

AddSeedsCountFlag adds the seeds count flag to the command

func AddValidatorsPerSeedFlag

func AddValidatorsPerSeedFlag(c *cobra.Command)

AddValidatorsPerSeedFlag adds the validators per seed flag to the command

func AddWalletAddressFlag

func AddWalletAddressFlag(c *cobra.Command)

AddWalletAddressFlag adds the wallet address flag to the command

func AddWalletPrivateKeyFlag

func AddWalletPrivateKeyFlag(c *cobra.Command)

AddWalletPrivateKeyFlag adds the wallet private key flag to the command

func AddWeb3AddrFlag

func AddWeb3AddrFlag(c *cobra.Command)

AddWeb3AddrFlag adds the web3 address flag to the command

func GetSeedsCountFlagValue

func GetSeedsCountFlagValue(c *cobra.Command) (int, error)

GetSeedsCountFlagValue gets the seeds count flag from the command

func GetValidatorsPerSeedFlagValue

func GetValidatorsPerSeedFlagValue(c *cobra.Command) (int, error)

GetValidatorsPerSeedFlagValue gets the validators per seed flag from the command

func GetWalletAddressFlagValue

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

GetWalletAddressFlagValue gets the wallet address flag from the command

func GetWalletPrivateKeyFlagValue

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

GetWalletPrivateKeyFlagValue gets the wallet private key flag from the command

func GetWeb3AddrFlagValue

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

GetWeb3AddrFlagValue gets the web3 addr 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