cmd

package
v0.19.1300 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2026 License: AGPL-3.0 Imports: 58 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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