cmd

package
v0.7.67 Latest Latest
Warning

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

Go to latest
Published: May 29, 2026 License: MIT Imports: 42 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ExitGeneral   = 1 // unclassified error
	ExitBadArgs   = 2 // bad arguments or flag misuse
	ExitAuthError = 3 // authentication failure
	ExitAPIError  = 4 // API call failure
	ExitNotFound  = 5 // resource not found
)

Exit codes for specific failure modes. Commands should return errors that carry one of these codes so scripts can distinguish failure categories.

Variables

This section is empty.

Functions

func NewRootCmd

func NewRootCmd(version string) *cobra.Command

Types

This section is empty.

Jump to

Keyboard shortcuts

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