docs

package
v0.0.0-...-232ca89 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 20, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Markdown

func Markdown(cmd *cli.Command, opts ...MarkdownOption) string

Markdown generates reference documentation in markdown format from a fully-constructed *cli.Command tree. This works post-wiring, so it captures everything: format flags, hook-added flags, all registered services.

Types

type MarkdownOption

type MarkdownOption func(*markdownConfig)

MarkdownOption configures markdown generation.

func WithTitle

func WithTitle(title string) MarkdownOption

WithTitle overrides the default title (command name) in the generated markdown.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL