pub fn list_metrics(json: bool) -> Result<String>Expand description
Render the metric registry for cargo ktstr stats list-metrics.
Thin wrapper over crate::stats::list_metrics — exposed through
cli:: to match the list_runs / compare_partitions / show_host
convention where every stats-subcommand dispatch arm lands on a
cli::* helper before reaching the private stats module. The
returned String is printed verbatim by the dispatch site.