Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Annotations ¶
Annotations returns set of annotations for cobra.Commands, specifically the command 'name' and command 'kind'
Types ¶
type Runtime ¶
type Runtime struct {
// contains filtered or unexported fields
}
Runtime represents the execution runtime for CLI.
func NewRuntime ¶
NewRuntime returns new instance of Runtime. If `config` is not provided default config will be used.
func (*Runtime) PreRunEFunc ¶
PreRunEFunc is the 'cobra.Command#PreRunE' function for 'formatter' commands. This function reads and normalizes flags and arguments passed through CLI execution.
Click to show internal directories.
Click to hide internal directories.