Skip to content

Commit

Permalink
feat(auth): style auth link log
Browse files Browse the repository at this point in the history
  • Loading branch information
adriencaccia committed Jul 2, 2024
1 parent 51067e8 commit 8b46602
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/auth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ use std::time::Duration;
use crate::logger::get_local_logger;
use crate::{api_client::CodSpeedAPIClient, config::CodSpeedConfig, prelude::*};
use clap::{Args, Subcommand};
use console::style;
use simplelog::CombinedLogger;
use tokio::time::{sleep, Instant};

Expand Down Expand Up @@ -43,7 +44,10 @@ async fn login(api_client: &CodSpeedAPIClient) -> Result<()> {

info!(
"Login session created, open the following URL in your browser: {}\n",
login_session_payload.callback_url
style(login_session_payload.callback_url)
.blue()
.bold()
.underlined()
);

start_group!("Waiting for the login to be completed");
Expand Down

0 comments on commit 8b46602

Please sign in to comment.