openlogi-cli 0.1.0

Implementation library for the OpenLogi CLI (the `openlogi` binary).
Documentation
//! `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),
        }
    }
}