(output: &JsonViewList)
| 762 | } |
| 763 | |
| 764 | fn print_json(output: &JsonViewList) -> CliResult<()> { |
| 765 | let json = |
| 766 | serde_json::to_string_pretty(output).map_err(|error| CliError::Internal(error.into()))?; |
| 767 | println!("{}", json); |
| 768 | Ok(()) |
| 769 | } |
| 770 | |
| 771 | /// The local-source JSON document, printed from wire-carried views — the |
| 772 | /// same document shape the local body emits (repository_root and the |
no outgoing calls
no test coverage detected