1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
//! `openlogi assets <subcommand>` — bulk asset-host operations. use anyhow::Result; use clap::Subcommand; pub mod sync; #[derive(Debug, Subcommand)] pub enum AssetsCmd { /// Download every device's bundle-required files from assets.openlogi.org. Sync(sync::SyncArgs), } impl AssetsCmd { pub fn run(self) -> Result<()> { match self { Self::Sync(args) => sync::run(args), } } }