useclap::ValueEnum;// Output format for comparison results. Lives in core (rather than the CLI) so
// the engine-agnostic conformance logic can render diffs without core depending
// on the CLI crate — the CLI re-exports it as its clap arg type.
#[derive(Clone, Copy, Debug, ValueEnum)]pubenumFormat{
Human,
Summary,
Json,
Jsonl,}implstd::fmt::Display forFormat{fnfmt(&self, f:&mutstd::fmt::Formatter<'_>)->std::fmt::Result{let s =matchself{Format::Human =>"human",Format::Summary =>"summary",Format::Json =>"json",Format::Jsonl =>"jsonl",};write!(f,"{s}")}}