cmd

package
v0.0.1-rc2 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2025 License: GPL-3.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PassphraseEnvKey = "PASSPHRASE"
)

Variables

View Source
var (
	// Version defines the application version (defined at compile time)
	Version = ""
	Commit  = ""
	Dirty   = ""
)

Functions

func Execute

func Execute() error

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func NewRootCmd

func NewRootCmd(log *zap.Logger) *cobra.Command

NewRootCmd returns the root command for falcon.

Types

type AddKeyInput

type AddKeyInput struct {
	PrivateKey string
	Mnemonic   string
	CoinType   uint64
	Account    uint64
	Index      uint64
}

AddKeyInput is the input for adding a key to the keychain.

Jump to

Keyboard shortcuts

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