Documentation
¶
Overview ¶
Package docgen generates Docker-style CLI reference documentation in Markdown with Astro frontmatter from Cobra command trees.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PageData ¶
type PageData struct {
Title string
Description string
Tool string
Command string
Parent string
Generated string
Version string
Usage string
Long string
Options []FlagInfo
GlobalFlags []FlagInfo
Examples string
ParentCmd *ParentInfo
Children []ChildInfo
}
PageData holds all data needed to render a CLI reference page.
type ParentInfo ¶
ParentInfo holds a reference to the parent command.
Click to show internal directories.
Click to hide internal directories.