cmd

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2022 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Overview

nolint:gochecknoglobals

nolint:gochecknoglobals

nolint:gochecknoglobals

nolint:gochecknoglobals

nolint:gochecknoglobals

nolint:gochecknoglobals

nolint:gochecknoglobals

nolint:gochecknoglobals

nolint:gochecknoglobals

nolint:gochecknoglobals

Package cmd handles the commandline user interface and interactions. nolint:gochecknoglobals

nolint:gochecknoglobals

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