radicle_cli/commands/unblock/args.rs
1use clap::Parser;
2
3use crate::terminal::args::BlockTarget;
4
5const ABOUT: &str = "Unblock repositories or nodes to allow them to be seeded or followed";
6
7#[derive(Parser, Debug)]
8#[command(about = ABOUT, disable_version_flag = true)]
9pub struct Args {
10 /// A Repository ID or Node ID to allow to be seeded or followed
11 ///
12 /// [example values: rad:z3Tr6bC7ctEg2EHmLvknUr29mEDLH, z6MkiswaKJ85vafhffCGBu2gdBsYoDAyHVBWRxL3j297fwS9]
13 #[arg(value_name = "RID|NID")]
14 pub(super) target: BlockTarget,
15}