use clap::{Parser, Subcommand};
#[derive(Parser)]
#[command(author, version, about, long_about = None)]
pub struct Cli {
#[command(subcommand)]
pub command: Commands,
}
#[derive(Subcommand)]
pub enum Commands {
Add {
key: String,
branch_name: Option<String>,
},
Use { key: String },
Del { key: String },
DelAll,
Branch { key: Option<String> },
New { key: String },
Ls,
}