(value: &T)
| 210 | } |
| 211 | |
| 212 | fn json<T: serde::Serialize>(value: &T) -> CliResult<String> { |
| 213 | to_pretty_json(value).map_err(|error| CliError::Internal(error.into())) |
| 214 | } |
| 215 | |
| 216 | #[cfg(test)] |
| 217 | mod tests { |
nothing calls this directly
no test coverage detected