Skip to main content

cli_document

Function cli_document 

Source
pub fn cli_document(tree: &CommandDoc, version: &str) -> Value
Expand description

The whole command line as the committed machine-readable projection, docs/generated/cli.json: pretty JSON with a trailing newline, the same tree cli_reference renders as Markdown. The website’s generator reads this file and never the Rust source.