Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var VaporcliCmd = &cobra.Command{ Use: "vaporcli", Short: "Vaporcli is a commond line client for vapor (a.k.a. vapord)", Run: func(cmd *cobra.Command, args []string) { if len(args) < 1 { cmd.SetUsageTemplate(usageTemplate) cmd.Usage() } }, }
VaporCmd is Vaporcli's root command. Every other command attached to VaporcliCmd is a child command to it.
Functions ¶
func AddCommands ¶
func AddCommands()
AddCommands adds child commands to the root command VaporcliCmd.
func AddTemplateFunc ¶
func AddTemplateFunc()
AddTemplateFunc adds usage template to the root command VaporcliCmd.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.