Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{ Use: "bash-completions", Short: "Generate bash completion scripts", Long: `To generate completion files, run wksctl bash-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, bashCompletionFilename) if err != nil { log.Fatal(err) } cmd.Root().GenBashCompletion(outfile) } else { cmd.Root().GenBashCompletion(os.Stdout) } }}
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.