cli
packageThis package is not in the latest version of its module.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Index¶
Constants¶
This section is empty.
Variables¶
This section is empty.
Functions¶
funcAnnotations¶
Annotations returns set of annotations for cobra.Commands,specifically the command 'name' and command 'kind'
Types¶
typeRuntime¶added inv0.15.0
type Runtime struct {// contains filtered or unexported fields}
Runtime represents the execution runtime for CLI.
funcNewRuntime¶added inv0.15.0
NewRuntime returns new instance of Runtime. If `config` is not provideddefault config will be used.
func (*Runtime)PreRunEFunc¶added inv0.15.0
PreRunEFunc is the 'cobra.Command#PreRunE' function for 'formatter'commands. This function reads and normalizes flags and arguments passedthrough CLI execution.