cmd

package
v0.0.0-...-1d4de63 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2025 License: Apache-2.0, Apache-2.0 Imports: 28 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	RootCmd = createRootCmd(globalConfig, globalFlags)
)

Functions

func DefineDBCommands

func DefineDBCommands(rootCmd *cobra.Command, horizonConfig *horizon.Config, horizonFlags config.ConfigOptions)

func Execute

func Execute() error

func NewRootCmd

func NewRootCmd() *cobra.Command

Types

type ErrExitCode

type ErrExitCode int

ErrExitCode Indicates we want to exit with a specific error code without printing an error.

func (ErrExitCode) Error

func (e ErrExitCode) Error() string

type ErrUsage

type ErrUsage struct {
	// contains filtered or unexported fields
}

ErrUsage indicates we should print the usage string and exit with code 1

func (ErrUsage) Error

func (e ErrUsage) Error() string

Jump to

Keyboard shortcuts

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