pub fn command_to_json(cmd: &CommandDef) -> ValueExpand description
Serialize a command for --list --json --detail full / TOOL --help --json.
pub fn command_to_json(cmd: &CommandDef) -> ValueSerialize a command for --list --json --detail full / TOOL --help --json.