cmd

package
v1.21.41 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2025 License: BSD-3-Clause Imports: 37 Imported by: 0

Documentation

Overview

Copyright (C) 2022-2025, Lux Industries Inc. All rights reserved. See the file LICENSE for licensing terms.

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"
)

Command names exported for testing

Variables

View Source
var (
	Version = "1.21.24"
)

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 NewEVMCmd added in v1.9.7

func NewEVMCmd() *cobra.Command

func NewRootCmd

func NewRootCmd() *cobra.Command

Types

This section is empty.

Directories

Path Synopsis
Package keycmd provides commands for managing cryptographic keys.
Package keycmd provides commands for managing cryptographic keys.
Package vmcmd provides commands for managing VM plugins.
Package vmcmd provides commands for managing VM plugins.
Package warpcmd provides the warp command for cross-chain messaging operations
Package warpcmd provides the warp command for cross-chain messaging operations

Jump to

Keyboard shortcuts

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