Skip to content

Commit 3416b18

Browse files
committed
Show alias name and URL in login prompt
1 parent 1d6b3af commit 3416b18

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/commands/login.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ pub fn run(alias_name: &str) -> Result<(), ConfigError> {
2424
};
2525

2626
// Prompt for token
27+
println!(
28+
"Logging into {} ({})",
29+
alias_name.cyan().bold(),
30+
url.dimmed()
31+
);
2732
print!("Enter API token: ");
2833
io::stdout().flush().unwrap();
2934

0 commit comments

Comments
 (0)