use clap::ValueEnum;
#[derive(Debug, Clone, Copy, Default, ValueEnum)]
pub enum OutputFormat {
#[default]
Pretty,
Json,
Markdown,
}
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq)]
#[allow(dead_code)]
pub enum OutputLevel {
Quiet,
#[default]
Normal,
Verbose,
Debug,
}
#[allow(dead_code)]
impl OutputLevel {
pub fn is_verbose_or_higher(&self) -> bool {
matches!(self, Self::Verbose | Self::Debug)
}
pub fn is_debug(&self) -> bool {
matches!(self, Self::Debug)
}
}