Documentation ¶
Overview ¶
cmdgen is a tool for generating pages from a cobra command for a Hugo site.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateCmdDocs ¶
func GenerateCmdDocs(cmd *cobra.Command, dir string, opts CmdDocsGeneratorOptions) error
Types ¶
type CmdDocsGenerator ¶
type CmdDocsGenerator struct {
// contains filtered or unexported fields
}
func NewCmdDocsGenerator ¶
func NewCmdDocsGenerator(dir string, opts CmdDocsGeneratorOptions) *CmdDocsGenerator
func (*CmdDocsGenerator) GenMarkdownTree ¶
Click to show internal directories.
Click to hide internal directories.