cli

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ExitOK       = 0
	ExitError    = 1
	ExitUsage    = 2
	ExitNotFound = 4
	ExitAuth     = 5
)

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	Version string // installed version, injected from main; used by `upgrade`
	Out     io.Writer
	Err     io.Writer
	// contains filtered or unexported fields
}

func New

func New(cfg clientconfig.ClientConfig, pretty bool) *App

func (*App) Run

func (a *App) Run(args []string) int

Jump to

Keyboard shortcuts

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