Documentation ¶
Overview ¶
Package commands contains any general setup/helpers valid for all subcommands
Index ¶
Constants ¶
View Source
const ( ChainFlag = "chain-id" NodeFlag = "node" )
View Source
const ( SeedFlag = "seed" HashFlag = "valhash" ConfigFile = "config.toml" )
Variables ¶
View Source
var InitCmd = &cobra.Command{
Use: "init",
Short: "Initialize the light client for a new chain",
RunE: runInit,
}
InitCmd will initialize the basecli store
View Source
var ResetCmd = &cobra.Command{
Use: "reset_all",
Short: "DANGEROUS: Wipe out all client data, including keys",
RunE: runResetAll,
}
Functions ¶
func AddBasicFlags ¶
func GetCertifier ¶
func GetCertifier() (*certifiers.InquiringCertifier, error)
func GetChainID ¶ added in v0.10.1
func GetChainID() string
func GetProviders ¶ added in v0.10.1
func GetProviders() (trusted certifiers.Provider, source certifiers.Provider)
Types ¶
Click to show internal directories.
Click to hide internal directories.