Documentation
¶
Overview ¶
Package cmd provides the root command and subcommands for the Lux CLI.
Index ¶
Constants ¶
View Source
const ( // BlockchainCmd is the blockchain command name BlockchainCmd = "blockchain" // InterchainCmd is the interchain command name InterchainCmd = "interchain" // ValidatorCmd is the validator command name ValidatorCmd = "validator" // NetworkCmd is the network command name NetworkCmd = "network" // NodeCmd is the node command name NodeCmd = "node" // KeyCmd is the key command name KeyCmd = "key" // PrimaryCmd is the primary command name PrimaryCmd = "primary" // SubnetCmd is the subnet command name SubnetCmd = "subnet" // L1Cmd is the l1 command name L1Cmd = "l1" // L3Cmd is the l3 command name L3Cmd = "l3" // TransactionCmd is the transaction command name TransactionCmd = "transaction" // ConfigCmd is the config command name ConfigCmd = "config" // UpdateCmd is the update command name UpdateCmd = "update" // ContractCmd is the contract command name ContractCmd = "contract" // LocalCmd is the local command name LocalCmd = "local" // MigrateCmd is the migrate command name MigrateCmd = "migrate" // RPCCmd is the rpc command name RPCCmd = "rpc" // WarpCmd is the warp command name (for ICM/Interchain Messaging) WarpCmd = "warp" // DexCmd is the dex command name (for decentralized exchange) DexCmd = "dex" // DevCmd is the dev command name (for local development) DevCmd = "dev" )
Command names exported for testing
Variables ¶
View Source
var (
Version = "1.22.5"
)
Functions ¶
func Execute ¶
func Execute()
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 ¶
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package ammcmd provides commands for managing AMM (Automated Market Maker) pools.
|
Package ammcmd provides commands for managing AMM (Automated Market Maker) pools. |
|
Package backendcmd provides commands for backend service operations.
|
Package backendcmd provides commands for backend service operations. |
|
Package chaincmd provides commands for managing blockchain configurations.
|
Package chaincmd provides commands for managing blockchain configurations. |
|
upgradecmd
Package upgradecmd provides commands for managing blockchain upgrades.
|
Package upgradecmd provides commands for managing blockchain upgrades. |
|
Package configcmd provides commands for managing CLI configuration.
|
Package configcmd provides commands for managing CLI configuration. |
|
Package contractcmd provides commands for deploying and managing smart contracts.
|
Package contractcmd provides commands for deploying and managing smart contracts. |
|
Package devcmd provides development-related commands for local testing.
|
Package devcmd provides development-related commands for local testing. |
|
Package dexcmd provides commands for interacting with decentralized exchanges.
|
Package dexcmd provides commands for interacting with decentralized exchanges. |
|
Package flags provides reusable command-line flags for CLI commands.
|
Package flags provides reusable command-line flags for CLI commands. |
|
Package keycmd provides commands for key management and wallet operations.
|
Package keycmd provides commands for key management and wallet operations. |
|
Package l1cmd provides commands for creating and managing L1 blockchains.
|
Package l1cmd provides commands for creating and managing L1 blockchains. |
|
Package l3cmd provides commands for managing L3 blockchains.
|
Package l3cmd provides commands for managing L3 blockchains. |
|
Package networkcmd provides commands for managing local network operations.
|
Package networkcmd provides commands for managing local network operations. |
|
Package primarycmd provides commands for managing primary network validators.
|
Package primarycmd provides commands for managing primary network validators. |
|
Package rpccmd provides RPC commands for interacting with Lux nodes.
|
Package rpccmd provides RPC commands for interacting with Lux nodes. |
|
Package transactioncmd provides commands for managing transactions.
|
Package transactioncmd provides commands for managing transactions. |
|
Package updatecmd provides commands for updating the CLI and related binaries.
|
Package updatecmd provides commands for updating the CLI and related binaries. |
|
Package validatorcmd provides commands for managing validators.
|
Package validatorcmd provides commands for managing validators. |
|
Package vmcmd provides commands for managing VM plugins.
|
Package vmcmd provides commands for managing VM plugins. |
|
Package warpcmd provides commands for managing Warp messaging and ICM.
|
Package warpcmd provides commands for managing Warp messaging and ICM. |
Click to show internal directories.
Click to hide internal directories.