1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
use clap::Args; #[derive(Args, Clone, Debug)] pub struct CleanArgs { /// Clean the debug build directory #[arg(short, long)] pub debug: bool, /// Clean the release build directory #[arg(short, long)] pub release: bool, /// Clean out object files #[arg(short, long)] pub objects: bool, }