cmd

package
v0.40.0 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrSendTargetValidationFailed is returned if a send target can't pass a
	// validation.
	ErrSendTargetValidationFailed = errors.New("send target validation failed")

	// ErrCantSendEvent is returned if event can't be sent.
	ErrCantSendEvent = errors.New("can't send event")
)
View Source
var ErrCantBePresented = errors.New("can't be presented")

ErrCantBePresented is returned if data can't be presented.

View Source
var ErrUnsupportedOutputMode = errors.New("unsupported mode")

ErrUnsupportedOutputMode is returned if user passed a unsupported output mode.

View Source
var Options []commandline.Option //nolint:gochecknoglobals

Options to override the commandline for testing purposes.

Functions

This section is empty.

Types

type App added in v0.35.0

type App struct {
	cli.Options
}

func (*App) Command added in v0.35.0

func (a *App) Command() *cobra.Command

Jump to

Keyboard shortcuts

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