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

cli

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2026 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

func Execute

func Execute() int

Execute runs the root command against os.Args and returns the process

func NewRootCommand

func NewRootCommand() *cobra.Command

NewRootCommand creates the root command for the CLI application. It is a constructor so tests can create isolted instances without global flags

Types

This section is empty.

Jump to

Keyboard shortcuts

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