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

cmd

package
v0.19.1253 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: AGPL-3.0 Imports: 55 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TUIAltScreen  = "alt-screen"
	TUIContextual = "contextual"
)

TUI annotation values

View Source
const (
	OutputTable = "table"
	OutputJSON  = "json"
	OutputAgent = "agent"
)

Output annotation values, matching --output formats.

Variables

View Source
var (
	PrintJSON             bool = false
	Output                string
	ReadOnly              bool = false
	Debug                 bool = false
	ConfigFile            string
	DefaultConfigFilePath string = "~/.nuon"
)
View Source
var (
	CoreGroup       = cobra.Group{ID: "core", Title: "Core Commands"}
	InstallGroup    = cobra.Group{ID: "install", Title: "Install Commands"}
	HelpGroup       = cobra.Group{ID: "help", Title: "Help Commands"}
	AdditionalGroup = cobra.Group{ID: "additional", Title: "Additional Commands"}
	ExtensionGroup  = cobra.Group{ID: "extensions", Title: "Extensions"}
)

Functions

func Execute

func Execute()

Execute is essentially the init method of the CLI. It initializes all the components and composes them together.

func NewCLI

func NewCLI() (*cli, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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