flags

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddPersistentBoolFlag

func AddPersistentBoolFlag(c *cobra.Command, flag string, value bool, description string, isRequired bool)

AddPersistentIntFlag adds a int flag to the command

func AddPersistentIntFlag

func AddPersistentIntFlag(c *cobra.Command, flag string, value uint64, description string, isRequired bool)

AddPersistentIntFlag adds a int flag to the command

func AddPersistentStringFlag

func AddPersistentStringFlag(c *cobra.Command, flag, value, description string, isRequired bool)

AddPersistentStringFlag adds a string flag to the command

func AddPersistentStringSliceFlag

func AddPersistentStringSliceFlag(c *cobra.Command, flag string, value []string, description string, isRequired bool)

AddPersistentStringArrayFlag adds a string slice flag to the command

func CeremonySigsFilePathFlag added in v1.2.0

func CeremonySigsFilePathFlag(c *cobra.Command)

func ConfigPathFlag

func ConfigPathFlag(c *cobra.Command)

ConfigPathFlag config path flag to the command

func GenerateInitiatorKeyIfNotExistingFlag added in v1.1.0

func GenerateInitiatorKeyIfNotExistingFlag(c *cobra.Command)

GenerateInitiatorKeyIfNotExistingFlag adds flag to generate a random secure password and initiator RSA key pair encrypted with this password

func KeysharesFilePathFlag added in v1.2.0

func KeysharesFilePathFlag(c *cobra.Command)

func LogFilePathFlag

func LogFilePathFlag(c *cobra.Command)

LogFilePathFlag file path to write logs into

func LogFormatFlag

func LogFormatFlag(c *cobra.Command)

LogFormatFlag logger's logger's encoding flag to the command

func LogLevelFlag

func LogLevelFlag(c *cobra.Command)

LogLevelFlag logger's log level flag to the command

func LogLevelFormatFlag

func LogLevelFormatFlag(c *cobra.Command)

LogLevelFormatFlag logger's level format flag to the command

func NetworkFlag

func NetworkFlag(c *cobra.Command)

NetworkFlag adds the fork version of the network flag to the command

func NewOperatorIDsFlag added in v1.0.0

func NewOperatorIDsFlag(c *cobra.Command)

operatorIDsFlag adds new operators IDs flag to the command

func NonceFlag

func NonceFlag(c *cobra.Command)

NonceFlag owner nonce flag to the command

func OperatorIDFlag added in v1.1.0

func OperatorIDFlag(c *cobra.Command)

OperatorIDFlag add operator ID flag to the command

func OperatorIDsFlag

func OperatorIDsFlag(c *cobra.Command)

operatorIDsFlag adds operators IDs flag to the command

func OperatorPortFlag

func OperatorPortFlag(c *cobra.Command)

OperatorPortFlag adds operator listening port flag to the command

func OperatorsInfoFlag

func OperatorsInfoFlag(c *cobra.Command)

OperatorsInfoFlag adds path to operators' ifo file flag to the command

func OperatorsInfoPathFlag

func OperatorsInfoPathFlag(c *cobra.Command)

OperatorsInfoFlag adds path to operators' ifo file flag to the command

func OwnerAddressFlag

func OwnerAddressFlag(c *cobra.Command)

OwnerAddressFlag adds owner address flag to the command

func PrivateKeyFlag added in v1.0.0

func PrivateKeyFlag(c *cobra.Command)

OperatorPrivateKeyFlag adds private key flag to the command

func PrivateKeyPassFlag added in v1.0.0

func PrivateKeyPassFlag(c *cobra.Command)

OperatorPrivateKeyPassFlag adds private key flag to the command

func ResultPathFlag

func ResultPathFlag(c *cobra.Command)

func ThresholdFlag

func ThresholdFlag(c *cobra.Command)

ThresholdFlag adds threshold flag to the command

func ValidatorsFlag added in v1.1.0

func ValidatorsFlag(c *cobra.Command)

ValidatorsFlag add number of validators to create flag to the command

func WithdrawAddressFlag

func WithdrawAddressFlag(c *cobra.Command)

WithdrawAddressFlag adds withdraw address flag to 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