Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
REVIEW: The path does not need a workaround
✗ CI failure Lorenz Leutgeb committed 6 months ago
commit e8628307d69e2ca98e642d1793f9d65cdf27b98a
parent 8057ceecdbcfa02095a6b3953baf296ca2992f20
1 failed (1 total) View logs
3 files changed +31 -31
deleted crates/radicle-cli/src/commands/rad_self/args.rs
@@ -1,30 +0,0 @@
-
use clap::Parser;
-

-
pub(crate) const ABOUT: &str = "Show information about your identity and device";
-

-
#[derive(Debug, Parser)]
-
#[command(about = ABOUT, disable_version_flag = true)]
-
#[group(multiple = false)]
-
pub struct Args {
-
    /// Show your DID
-
    #[arg(long)]
-
    pub(super) did: bool,
-
    /// Show your Node alias
-
    #[arg(long)]
-
    pub(super) alias: bool,
-
    /// Show your Node identifier
-
    #[arg(long, hide(true))]
-
    pub(super) nid: bool,
-
    /// Show your Radicle home
-
    #[arg(long)]
-
    pub(super) home: bool,
-
    /// Show the location of your configuration file
-
    #[arg(long)]
-
    pub(super) config: bool,
-
    /// Show your public key in OpenSSH format
-
    #[arg(long)]
-
    pub(super) ssh_key: bool,
-
    /// Show your public key fingerprint in OpenSSH format
-
    #[arg(long)]
-
    pub(super) ssh_fingerprint: bool,
-
}
modified crates/radicle-cli/src/commands/self.rs
@@ -1,4 +1,4 @@
-
#[path = "rad_self/args.rs"]
+
#[path = "self/args.rs"]
mod args;

pub use args::Args;
added crates/radicle-cli/src/commands/self/args.rs
@@ -0,0 +1,30 @@
+
use clap::Parser;
+

+
pub(crate) const ABOUT: &str = "Show information about your identity and device";
+

+
#[derive(Debug, Parser)]
+
#[command(about = ABOUT, disable_version_flag = true)]
+
#[group(multiple = false)]
+
pub struct Args {
+
    /// Show your DID
+
    #[arg(long)]
+
    pub(super) did: bool,
+
    /// Show your Node alias
+
    #[arg(long)]
+
    pub(super) alias: bool,
+
    /// Show your Node identifier
+
    #[arg(long, hide(true))]
+
    pub(super) nid: bool,
+
    /// Show your Radicle home
+
    #[arg(long)]
+
    pub(super) home: bool,
+
    /// Show the location of your configuration file
+
    #[arg(long)]
+
    pub(super) config: bool,
+
    /// Show your public key in OpenSSH format
+
    #[arg(long)]
+
    pub(super) ssh_key: bool,
+
    /// Show your public key fingerprint in OpenSSH format
+
    #[arg(long)]
+
    pub(super) ssh_fingerprint: bool,
+
}