use clap::ValueEnum;
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, ValueEnum)]
pub enum Level {
#[default]
Note,
Warning,
}
impl Level {
pub(super) const fn as_str(self) -> &'static str {
match self {
Self::Note => "note",
Self::Warning => "warning",
}
}
}