pub fn render_response_parts<D, T>( command: &str, output: JsonOutput, data: D, text: T, ) -> Stringwhere D: FnOnce() -> Value, T: FnOnce() -> String,
Render either the shared JSON envelope or lazily-built command data and plain text.