remozipsy 0.2.0

Remote Zip Sync - sync remote zip to local fs
Documentation
use clap::{Parser, Subcommand};
use std::path::PathBuf;

#[derive(Parser)]
#[command(version, about, long_about = None)]
pub(crate) struct Args {
    // online url of the zip
    #[arg()]
    pub remote_url: String,

    #[arg(long)]
    pub max_parallel_downloads: Option<u32>,

    #[arg(long)]
    pub assume_cd_contains_lh_content: Option<bool>,

    #[command(subcommand)]
    pub command: Commands,
}

#[derive(Subcommand)]
pub(crate) enum Commands {
    Clone {
        // directory to write to
        #[arg()]
        output_directory: PathBuf,
    },
    Show {
        #[arg(short, long)]
        print_filenames: bool,
    },
}