cli: Minor output improvements to `rad auth`
This commit is contained in:
parent
b133785449
commit
c3e11057ad
|
|
@ -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.
|
✓ Your Radicle DID is did:key:z6MknSLrJoTcukLrE435hVNQT4JUhbvWLX4kUzqkEStBU8Vi. This identifies your device. Run `rad self` to show it at all times.
|
||||||
✓ You're all set.
|
✓ 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 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`.
|
To get a list of all commands, run `rad help`.
|
||||||
```
|
```
|
||||||
|
|
|
||||||
|
|
@ -139,7 +139,7 @@ pub fn init(options: Options) -> anyhow::Result<()> {
|
||||||
term::success!("You're all set.");
|
term::success!("You're all set.");
|
||||||
term::blank();
|
term::blank();
|
||||||
term::info!(
|
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::format::command("rad init")
|
||||||
);
|
);
|
||||||
term::info!(
|
term::info!(
|
||||||
|
|
@ -172,11 +172,6 @@ pub fn authenticate(options: Options, profile: &Profile) -> anyhow::Result<()> {
|
||||||
return Ok(());
|
return Ok(());
|
||||||
}
|
}
|
||||||
|
|
||||||
term::info!(
|
|
||||||
"Authenticating as 👾 {}",
|
|
||||||
term::format::Identity::new(profile).styled()
|
|
||||||
);
|
|
||||||
|
|
||||||
let validator = term::io::PassphraseValidator::new(profile.keystore.clone());
|
let validator = term::io::PassphraseValidator::new(profile.keystore.clone());
|
||||||
let passphrase = if options.stdin {
|
let passphrase = if options.stdin {
|
||||||
term::passphrase_stdin()?
|
term::passphrase_stdin()?
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue