use std::path::{Path, PathBuf};
use anyhow::Result;
#[enum_dispatch::enum_dispatch]
pub trait Command {
fn execute(&self) -> Result<()>;
}
#[must_use]
pub fn output_path(prefix: &Path, suffix: &str) -> PathBuf {
PathBuf::from(format!("{}{suffix}", prefix.to_string_lossy()))
}