cli

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ExitOK           = 0
	ExitUsage        = 2
	ExitPrecondition = 3
	ExitRemote       = 4
	ExitAuth         = 5
	ExitCancel       = 6
	ExitInternal     = 1
)

Exit codes for CI callers.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, args []string, w io.Writer) int

Run dispatches argv to an explicit subcommand.

func SetVersion

func SetVersion(v string)

SetVersion injects the release identity from main.

Types

This section is empty.

Jump to

Keyboard shortcuts

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