rivox 1.0.0

Universal polyglot build coordination layer for Python, Rust, and Node monorepos
Documentation
use clap::{Args, Subcommand};

#[derive(Args, Debug)]
pub struct CacheArgs {
    #[command(subcommand)]
    pub action: CacheSubcommand,
}

#[derive(Subcommand, Debug)]
pub enum CacheSubcommand {
    /// Inspect status, hit rate, and total disk usage of local CAS
    Status,

    /// Prune unreferenced cache artifacts
    Prune {
        /// Remove artifacts older than specified days
        #[arg(long, default_value_t = 30)]
        days: u32,
    },

    /// Export local CAS blobs for remote REAPI cache distribution
    Export {
        /// Destination archive or URL
        #[arg(short, long)]
        destination: String,
    },
}