Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FooCommand = &cobra.Command{ Use: "foo", Short: "foo的简要说明", Long: "foo的长说明", Aliases: []string{"fo", "f"}, Example: "foo命令的例子", RunE: func(c *cobra.Command, args []string) error { log.Println("execute foo command") return nil }, }
FooCommand 代表Foo命令
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.