From c3e11057ad933aeef27ffe091be2048557cad469 Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Sat, 9 Sep 2023 16:01:15 +0200 Subject: [PATCH] cli: Minor output improvements to `rad auth` --- radicle-cli/examples/rad-auth.md | 2 +- radicle-cli/src/commands/auth.rs | 7 +------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/radicle-cli/examples/rad-auth.md b/radicle-cli/examples/rad-auth.md index 748fd1c67..826a7fc2e 100644 --- a/radicle-cli/examples/rad-auth.md +++ b/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 `. For example, `rad clone rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5` clones the Radicle 'heartwood' project. To get a list of all commands, run `rad help`. ``` diff --git a/radicle-cli/src/commands/auth.rs b/radicle-cli/src/commands/auth.rs index 87f3c5064..0fb5f8940 100644 --- a/radicle-cli/src/commands/auth.rs +++ b/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()?