Expand description
Generate Markdown documentation for clap command-line tools.
This is a fork of clap-markdown with the following
enhancements:
Re-exportsยง
pub(crate) use collections::BTreeMap;๐pub(crate) use self;๐pub(crate) use Write;๐pub(crate) use clap::builder::PossibleValue;๐
Structsยง
- Markdown
Options - Options to customize the structure of the output Markdown document.
Functionsยง
- build_
command_ ๐markdown - build_
table_ ๐of_ contents_ markdown - get_
alias_ ๐string - get_
canonical_ ๐name - Utility function to get the canonical name of a command.
- help_
markdown - Format the help information for
commandas Markdown. - help_
markdown_ command - Format the help information for
commandas Markdown. - help_
markdown_ command_ custom - Format the help information for
commandas Markdown, with custom options. - help_
markdown_ custom - Format the help information for
commandas Markdown, with custom options. - indent ๐
- Indents non-empty lines. The output always ends with a newline.
- pluralize ๐
- print_
help_ markdown - Format the help information for
commandas Markdown and print it. - write_
arg_ ๐markdown - write_
help_ ๐markdown