cli: Minor output improvements to `rad auth`

This commit is contained in:
dietrich ayala 2023-09-09 16:01:15 +02:00 committed by cloudhead
parent b133785449
commit c3e11057ad
No known key found for this signature in database
2 changed files with 2 additions and 7 deletions

View File

@ -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`.
```

View File

@ -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()?