Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{ Use: "zsh-completions", Short: "Generate zsh completion scripts", Long: `To load completion run wksctl zsh-completions [-o <completions_file|directory>] and follow instructions for your OS to configure/install the completion file. `, Run: func(cmd *cobra.Command, args []string) { if output != "" { outfile, err := utilities.CreateFile(output, zshCompletionFileName) if err != nil { log.Fatal(err) } if err = cmd.Root().GenZshCompletion(outfile); err != nil { log.Fatal(err) } } else { if err := cmd.Root().GenZshCompletion(os.Stdout); err != nil { log.Fatal(err) } } }}
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.