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

cli

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2026 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version = "0.0.0-dev"

Version is set at build time via -ldflags. It defaults to a dev marker.

Functions

func NewRootCmd

func NewRootCmd() *cobra.Command

NewRootCmd builds the top-level nasc command tree.

Types

type ExitError

type ExitError struct {
	Code int
	Msg  string
}

ExitError carries a specific process exit code up to main.

func (ExitError) Error

func (e ExitError) Error() string

Jump to

Keyboard shortcuts

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