radicle_cli/commands/checkout/
args.rs1use clap::Parser;
2use radicle::prelude::{Did, RepoId};
3
4const ABOUT: &str = "Checkout a repository into the local directory";
5const LONG_ABOUT: &str = r#"
6Creates a working copy from a repository in local storage.
7"#;
8
9#[derive(Debug, Parser)]
10#[command(about = ABOUT, long_about = LONG_ABOUT, disable_version_flag = true)]
11pub struct Args {
12 #[arg(value_name = "RID")]
14 pub(super) repo: RepoId,
15
16 #[arg(long, value_name = "DID")]
18 pub(super) remote: Option<Did>,
19
20 #[arg(long)]
23 no_confirm: bool,
24}