Formats the `list` command output with suite summaries, query-id hints, and configurable suite options.
(registry: &SuiteRegistry)
| 28 | /// Formats the `list` command output with suite summaries, query-id hints, and |
| 29 | /// configurable suite options. |
| 30 | pub fn format_suite_list_styled(registry: &SuiteRegistry) -> Result<String> { |
| 31 | let mut output = String::new(); |
| 32 | |
| 33 | for suite in registry.suites() { |
| 34 | write_suite_list_entry(&mut output, suite)?; |
| 35 | } |
| 36 | |
| 37 | Ok(output) |
| 38 | } |
| 39 | |
| 40 | /// Writes one suite entry for the `list` command. |
| 41 | fn write_suite_list_entry(output: &mut String, suite: &SuiteConfig) -> Result<()> { |
searching dependent graphs…