Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleError ¶
Types ¶
type MissingArgumentsError ¶
type MissingArgumentsError struct {
Command string
}
MissingArgumentsError is an error returned if there are too few arguments for a command.
func NewMissingArgumentsError ¶
func NewMissingArgumentsError(command *cobra.Command) *MissingArgumentsError
NewMissingArgumentsError creates a MissingArgumentsError instance.
func (*MissingArgumentsError) Error ¶
func (e *MissingArgumentsError) Error() string
Click to show internal directories.
Click to hide internal directories.