Skip to main content

auths_cli/commands/
registry_overrides.rs

1use clap::Args;
2
3#[derive(Args, Debug, Clone, Default)]
4pub struct RegistryOverrides {
5    #[arg(
6        long = "identity-ref",
7        value_name = "GIT_REF",
8        help = "Override Git ref for the identity commit [default: refs/rad/id]"
9    )]
10    pub identity_ref: Option<String>,
11
12    #[arg(
13        long = "identity-blob",
14        value_name = "FILENAME",
15        help = "Override blob filename for identity data [default: radicle-identity.json]"
16    )]
17    pub identity_blob: Option<String>,
18
19    #[arg(
20        long = "attestation-prefix",
21        value_name = "GIT_REF_PREFIX",
22        help = "Override base Git ref prefix for device authorizations [default: refs/keys]"
23    )]
24    pub attestation_prefix: Option<String>,
25
26    #[arg(
27        long = "attestation-blob",
28        value_name = "FILENAME",
29        help = "Override blob filename for device authorization data [default: link-attestation.json]"
30    )]
31    pub attestation_blob: Option<String>,
32}