Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrCantBePresented = errors.New("can't be presented")
ErrCantBePresented is returned if data can't be presented.
View Source
var ErrSendTargetValidationFailed = errors.New("send target validation failed")
ErrSendTargetValidationFailed is returned if the send target can't pass a validation.
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 ¶
func EffectiveOptions ¶ added in v0.44.0
func EffectiveOptions() []commandline.Option
EffectiveOptions are the options used for command run.
TODO: Consider migrating to Cobra' error handler, see: https://github.com/spf13/cobra/pull/2199
Types ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.