use crate::commands;
use clap::Subcommand;
#[derive(Clone, Debug, Subcommand)]
#[command(subcommand_value_name = "command")]
pub enum TytMaterial {
#[command(name = "create-mse")]
CreateMse(commands::CreateMse),
}
impl TytMaterial {
pub fn execute(self, dependencies: impl crate::Dependencies) -> crate::Result<()> {
match self {
TytMaterial::CreateMse(create_mse) => create_mse.execute(dependencies),
}
}
}