1use clap::Args; 2 3#[derive(Args)] 4pub struct CacheArgs { 5 action: String, 6} 7 8pub fn run(args: CacheArgs) -> anyhow::Result<()> { 9 println!("Cache command: {}", args.action); 10 Ok(()) 11}