pub fn run_with_display_error_handler<F, E>( command: &str, json_output: bool, run: F, ) -> i32where F: FnOnce() -> Result<i32, E>, E: Display,
Run a fallible CLI closure with shared fatal rendering for any displayable error type.