Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ SilenceUsage: true, DisableSuggestions: true, }
RootCmd represents a root command for all subcommands. This command does not contain any behavior but only proxies the execution to the subcommands.
Functions ¶
func Execute ¶
Execute executes the root command. It requires the input and output sources, as otherwise it'll try to read the STDIN and STDOUT streams. The "args" value contains a complete command expression split into a slice of strings, and the "out" represents io.Writer instance for writing the command execution result.
Types ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
func (*Model) SetPathContext ¶
Click to show internal directories.
Click to hide internal directories.