Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ShellTypes = []string{
"zsh", "bash", "powerShell",
}
ShellTypes contains all types of shell
Functions ¶
func NewCmdCompletion ¶
Types ¶
type CompletionOptions ¶
type CompletionOptions struct {
Type string
}
CompletionOptions is the option of completion command
func NewCompletionOptions ¶
func NewCompletionOptions() *CompletionOptions
func (*CompletionOptions) AddFlags ¶
func (o *CompletionOptions) AddFlags(cmd *cobra.Command)
Click to show internal directories.
Click to hide internal directories.