Help us shape the future of Go! Take the 2026 Go Developer Survey

cli

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2026 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(ctx context.Context, args []string, stdout, stderr io.Writer) error

Execute parses and runs one CLI invocation without terminating the process.

func ExitCode added in v0.21.0

func ExitCode(err error) int

ExitCode maps a returned command error to its process status.

Types

This section is empty.

Jump to

Keyboard shortcuts

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