Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckOutputDir ¶
func CheckOutputDir(fs opctx.FS, options *GenerateMarkdownOptions) error
CheckOutputDir verifies the output directory state before generation. If the directory exists and is non-empty, it either removes it (when Force is set) or returns an actionable error suggesting --force / -f.
func GenerateMarkdownDocs ¶
func GenerateMarkdownDocs(fs opctx.FS, rootCmd *cobra.Command, options *GenerateMarkdownOptions) error
GenerateMarkdownDocs generates markdown documentation for the given command tree.
Types ¶
type GenerateMarkdownOptions ¶
Click to show internal directories.
Click to hide internal directories.