Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CompletionCmd = &cobra.Command{ Use: "completion bash|zsh", Short: completionShort, Long: completionLong, Example: completionExample, ValidArgs: []string{"bash", "zsh"}, Args: cobra.ExactValidArgs(1), Run: func(cmd *cobra.Command, args []string) { var err error switch args[0] { case "bash": err = cmd.Root().GenBashCompletionV2(os.Stdout, true) case "zsh": err = cmd.Root().GenZshCompletion(os.Stdout) } tracelog.ErrorLogger.FatalOnError(err) }, }
CompletionCmd represents the completion command
View Source
var FlagsCmd = &cobra.Command{ Use: "flags", Short: "Display the list of available global flags for all wal-g commands", DisableFlagsInUseLine: true, Run: func(cmd *cobra.Command, args []string) { _ = cmd.Usage() }, }
FlagsCmd represents the flags command
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.