Skip to main content

cli_manual_to_json

Function cli_manual_to_json 

Source
pub fn cli_manual_to_json(nodes: &[CliManualNode]) -> Value
Expand description

Render a flat list of manual nodes as a path-keyed JSON object.

This is the structured (--manual --json / --jq) shape: one key per command path, each value carrying description, input_schema, and output_schema. Used by #[cli]-generated --manual handling.