cmd

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2026 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Exit is overridable so tests can assert on the exit code.
	Exit = os.Exit
)

Functions

func Execute

func Execute(bi BuildInfo)

Execute runs the CLI. It is called by main.main().

Types

type BuildInfo

type BuildInfo struct {
	AppName string
	Version string
	Commit  string
	Date    string
}

BuildInfo carries the version metadata injected at build time.

Jump to

Keyboard shortcuts

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