pub fn commands_to_json(commands: &[CommandDef], detail: ListDetail) -> ValueExpand description
Serialize commands at the requested detail level.
pub fn commands_to_json(commands: &[CommandDef], detail: ListDetail) -> ValueSerialize commands at the requested detail level.