apkeep 0.18.0

A command-line tool for downloading APK files from various sources
pub mod progress_bar;

#[derive(Clone)]
pub enum OutputFormat {
    Json,
    Plaintext,
}

impl OutputFormat {
    pub fn is_json(&self) -> bool {
        if let Self::Json = self {
            true
        } else {
            false
        }
    }

    pub fn is_plaintext(&self) -> bool {
        if let Self::Plaintext = self {
            true
        } else {
            false
        }
    }
}