radicle-cli 0.20.0

Radicle CLI
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use clap::Parser;
use radicle::prelude::RepoId;

const ABOUT: &str = "Remove repository seeding policies";

const LONG_ABOUT: &str = r#"
The `unseed` command removes the seeding policy, if found,
for the given repositories."#;

#[derive(Debug, Parser)]
#[command(about = ABOUT, long_about = LONG_ABOUT, disable_version_flag = true)]
pub struct Args {
    /// ID of the repository to remove the seeding policy for (may be repeated)
    #[arg(value_name = "RID", required = true, action = clap::ArgAction::Append)]
    pub rids: Vec<RepoId>,
}