cli

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 5, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Overview

Package cli implements the nuc command-line interface using cobra. It consumes service interfaces and formats output for terminal display.

Index

Constants

View Source
const (
	ExitSuccess  = 0
	ExitError    = 1
	ExitUsage    = 2
	ExitAuth     = 3
	ExitNotFound = 4
)

Exit codes for the CLI.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute runs the root command and exits with the appropriate code.

func NewRootCmd

func NewRootCmd() *cobra.Command

NewRootCmd creates and returns the root cobra command with all subcommands attached.

Types

This section is empty.

Directories

Path Synopsis
Package output provides output formatting for the nuc CLI.
Package output provides output formatting for the nuc CLI.

Jump to

Keyboard shortcuts

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