Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ToolsCmd = &cobra.Command{ Use: "tools", Short: "Tools command", Long: "Differents tools for Yugabyte developer", Run: func(cmd *cobra.Command, args []string) { cmd.Help() }, }
ToolsCmd Differents tools for Yugabyte developer
View Source
var TreeCmd = &cobra.Command{ Use: "tree", Short: "Visualize the command tree", Long: "Visualize the command structore of the CLI in tree format", Run: func(cmd *cobra.Command, args []string) { fmt.Println("yba") for i, cmd := range cmd.Root().Commands() { printCommandTree(cmd, "", i == len(cmd.Root().Commands())-1) } }, }
TreeCmd prints all commands in a tree format
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.