yazi_macro::mod_pub!(actions); yazi_macro::mod_flat!(args boot); use clap::Parser; use yazi_shared::RoCell; pub static ARGS: RoCell = RoCell::new(); pub static BOOT: RoCell = RoCell::new(); pub fn init() { ARGS.with(<_>::parse); BOOT.init(<_>::from(&*ARGS)); actions::Actions::act(&ARGS); } pub fn init_default() { ARGS.with(<_>::default); BOOT.with(<_>::default); }