use clap::Parser;
#[derive(Debug, Parser, Clone)]
#[cfg_attr(feature = "bevy", derive(bevy_reflect::Reflect))]
#[cfg_attr(feature = "bevy", reflect(Resource))]
pub struct GlobalArgs {
#[arg(long, global = true, default_value_t = false)]
pub debug: bool,
#[arg(long, global = true, default_value_t = true)]
pub interactive: bool,
#[arg(long, global = true, default_value_t = false)]
pub auto_approve: bool,
}
impl Default for GlobalArgs {
fn default() -> Self {
Self {
debug: false,
interactive: true,
auto_approve: false,
}
}
}