pmc-whirlwind 0.1.1

whirlwind is a collaborative Reaper project sync tool for podcast co-editors. It uses Cloudflare R2 for storage and synchronization.
Documentation
use clap::{Parser, Subcommand};

#[derive(Parser)]
#[command(
    name = "whirlwind",
    about = "Collaborative Reaper project sync for podcasters",
    version
)]
pub struct Cli {
    #[command(subcommand)]
    pub command: Commands,
}

#[derive(Subcommand)]
pub enum Commands {
    /// Initialize whirlwind config and test R2 connection
    Init,
    /// List all projects and their lock/push status
    List,
    /// Show status of a project (lock info, last push)
    Status { project: String },
    /// Download a project from R2 to local working directory
    Pull {
        project: String,
        /// Force download even if local changes exist
        #[arg(long)]
        force: bool,
    },
    /// Upload local project changes to R2
    Push {
        project: String,
        /// Skip lock acquisition (use with caution)
        #[arg(long)]
        no_lock: bool,
    },
    /// Pull project, launch Reaper, push on exit
    Session { project: String },
    /// Break a stale lock on a project
    Unlock {
        project: String,
        /// Skip confirmation prompt
        #[arg(long)]
        force: bool,
    },
}