use clap::Parser;
use radicle::prelude::{Did, RepoId};
const ABOUT: &str = "Checkout a repository into the local directory";
const LONG_ABOUT: &str = r#"
Creates a working copy from a repository in local storage.
"#;
#[derive(Debug, Parser)]
#[command(about = ABOUT, long_about = LONG_ABOUT, disable_version_flag = true)]
pub struct Args {
#[arg(value_name = "RID")]
pub(super) repo: RepoId,
#[arg(long, value_name = "DID")]
pub(super) remote: Option<Did>,
#[arg(long)]
no_confirm: bool,
}