1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
use clap::Subcommand; use crate::{fix::Fix, refactor::Refactor, feat::Feat}; #[derive(Subcommand, Debug, Clone)] pub enum Commands { Fix(Fix), Refactor(Refactor), Feat(Feat), //Chore, //Test, //Docs, //Style, //Ci, //Build, //Revert, //Perf, //Config, //Init, //Release, //Bump, // blablabla }