Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
REVIEW: Add empty lines
Lorenz Leutgeb committed 6 months ago
commit 48adc77f37771ed6ab7d96c85c8355b6bf891240
parent 99b1663ab402691d98c0d2a50ae0ff22be1d638e
1 file changed +9 -0
modified crates/radicle-cli/src/commands/inspect/args.rs
@@ -11,27 +11,35 @@ pub(crate) struct Target {
    /// Return the repository identifier (RID)
    #[arg(long)]
    pub(crate) rid: bool,
+

    /// Inspect the repository's identity payload
    #[arg(long)]
    pub(crate) payload: bool,
+

    /// Inspect the repository's refs on the local device
    #[arg(long)]
    pub(crate) refs: bool,
+

    /// Inspect the values of `rad/sigrefs` for all remotes of this repository
    #[arg(long)]
    pub(crate) sigrefs: bool,
+

    /// Inspect the identity document
    #[arg(long)]
    pub(crate) identity: bool,
+

    /// Inspect the repository's visibility
    #[arg(long)]
    pub(crate) visibility: bool,
+

    /// Inspect the repository's delegates
    #[arg(long)]
    pub(crate) delegates: bool,
+

    /// Inspect the repository's seeding policy
    #[arg(long)]
    pub(crate) policy: bool,
+

    /// Show the history of the repository identity document
    #[arg(long)]
    pub(crate) history: bool,
@@ -43,6 +51,7 @@ pub struct Args {
    /// Repository, byt RID or by path
    #[arg(value_name = "RID|PATH")]
    pub(crate) repo: Option<String>,
+

    #[clap(flatten)]
    pub(crate) target: Option<Target>,
}