Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

Commit

Permalink
cli: Minor output improvements to rad auth
Browse files Browse the repository at this point in the history
  • Loading branch information
autonome authored and cloudhead committed Oct 11, 2023
1 parent b133785 commit c3e1105
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion radicle-cli/examples/rad-auth.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
```
Expand Down
7 changes: 1 addition & 6 deletions radicle-cli/src/commands/auth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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!(
Expand Down Expand Up @@ -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()?
Expand Down

0 comments on commit c3e1105

Please sign in to comment.