cmd

package
v1.10.3 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2023 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Overview

Package cmd handles the commandline user interface and interactions.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrCmd  = errors.New("invalid command, please use one of the available commands")
	ErrNoID = errors.New("requires an id or uuid argument")
	ErrID   = errors.New("invalid id or uuid specified")
)
View Source
var ErrNoOutput = errors.New("no output command used")

Functions

func Execute

func Execute() error

Execute is a Cobra command that adds all child commands to the root and sets the appropriate flags. It is called by main.main() and only needs to be called once in the rootCmd.

Types

This section is empty.

Directories

Path Synopsis
internal
arg
run

Jump to

Keyboard shortcuts

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