diff --git a/src/cli/commands/credentials_set.rs b/src/cli/commands/credentials_set.rs index 0945309..d45f27c 100644 --- a/src/cli/commands/credentials_set.rs +++ b/src/cli/commands/credentials_set.rs @@ -1,4 +1,4 @@ -use std::time::Duration; +use std::{io::Write, time::Duration}; use crate::{ error::{PakkerError, Result}, @@ -56,6 +56,7 @@ pub async fn execute( if let Some(ref key) = cf_key { print!("Verifying CurseForge API key... "); + std::io::stdout().flush().ok(); match verify_curseforge(&client, key).await { Ok(()) => { println!("valid"); @@ -76,6 +77,7 @@ pub async fn execute( if let Some(ref token) = mr_token { print!("Verifying Modrinth token... "); + std::io::stdout().flush().ok(); match verify_modrinth(&client, token).await { Ok(()) => { println!("valid"); @@ -96,6 +98,7 @@ pub async fn execute( if let Some(ref token) = gh_token { print!("Verifying GitHub access token... "); + std::io::stdout().flush().ok(); match verify_github(&client, token).await { Ok(()) => { println!("valid");