cli

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2026 License: MIT Imports: 34 Imported by: 0

Documentation

Overview

Package cli defines the cobra command tree.

Index

Constants

This section is empty.

Variables

View Source
var (
	Version = "dev"
	Commit  = "none"
)

Set via -ldflags at release time.

Functions

func Execute

func Execute() error

Types

type ExitError

type ExitError struct {
	Code int
	Msg  string
}

ExitError carries a process exit code out of a command (and an optional message).

func (*ExitError) Error

func (e *ExitError) Error() string

Jump to

Keyboard shortcuts

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