cmd

package
v0.0.0-...-88e28f6 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	RootCmdConfig = types.CmdConfig{Name: "kysor", Short: "KYSOR helps you manage your KYVE data validators"}
	HelpCmdConfig = types.CmdConfig{Name: "help", Short: "Show help"}
)
View Source
var (
	ValaccountsCmdConfig            = types.CmdConfig{Name: "valaccounts", Short: "Manage validator accounts"}
	ValaccountsCreateCmdConfig      = types.CmdConfig{Name: "create", Short: "Create a new valaccount"}
	ValaccountsShowAddressCmdConfig = types.CmdConfig{Name: "show-address", Short: "Show address of a valaccount"}
	ValaccountsShowBalanceCmdConfig = types.CmdConfig{Name: "show-balance", Short: "Show balance of a valaccount"}
	VallaccountsTransferCmdConfig   = types.CmdConfig{Name: "transfer", Short: "Transfer tokens from a valaccount to another address"}
	ValaccountsDeleteCmdConfig      = types.CmdConfig{Name: "delete", Short: "Delete a valaccount"}
)
View Source
var InitCmdConfig = types.CmdConfig{Name: "init", Short: "Init KYSOR"}
View Source
var StartCmdConfig = types.CmdConfig{Name: "start", Short: "Start data validator"}
View Source
var StopCmdConfig = types.CmdConfig{Name: "stop", Short: "Stop data validator"}
View Source
var VersionCmdConfig = types.CmdConfig{Name: "version", Short: "Show KYSOR version"}

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.

Types

type Runtime

type Runtime struct {
	RuntimeVersion  string
	ProtocolVersion string
	RepoDir         string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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