Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{ Use: "generate-docs", Short: "Generate Markdown docs", Args: cobra.NoArgs, Run: func(c *cobra.Command, args []string) { path := "./cobra-docs/" err := os.MkdirAll(path, os.ModePerm) if err != nil { panic(err) } err = doc.GenMarkdownTree(root.RootCmd, path) if err != nil { panic(err) } }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.