Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
cli: Minor output improvements to `rad auth`
dietrich ayala committed 2 years ago
commit c3e11057ad933aeef27ffe091be2048557cad469
parent b1337854498b6989cb24e09b45013a8f0eef2596
2 files changed +2 -7
modified radicle-cli/examples/rad-auth.md
@@ -10,7 +10,7 @@ Initializing your radicle 👾 identity
✓ Your Radicle DID is did:key:z6MknSLrJoTcukLrE435hVNQT4JUhbvWLX4kUzqkEStBU8Vi. This identifies your device. Run `rad self` to show it at all times.
✓ You're all set.

-
To create a radicle project, run `rad init` from a Git repository.
+
To create a radicle project, run `rad init` from a Git repository with at least one commit.
To clone a project, run `rad clone <rid>`. For example, `rad clone rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5` clones the Radicle 'heartwood' project.
To get a list of all commands, run `rad help`.
```
modified radicle-cli/src/commands/auth.rs
@@ -139,7 +139,7 @@ pub fn init(options: Options) -> anyhow::Result<()> {
    term::success!("You're all set.");
    term::blank();
    term::info!(
-
        "To create a radicle project, run {} from a Git repository.",
+
        "To create a radicle project, run {} from a Git repository with at least one commit.",
        term::format::command("rad init")
    );
    term::info!(
@@ -172,11 +172,6 @@ pub fn authenticate(options: Options, profile: &Profile) -> anyhow::Result<()> {
                return Ok(());
            }

-
            term::info!(
-
                "Authenticating as 👾 {}",
-
                term::format::Identity::new(profile).styled()
-
            );
-

            let validator = term::io::PassphraseValidator::new(profile.keystore.clone());
            let passphrase = if options.stdin {
                term::passphrase_stdin()?