use color_eyre::eyre::{self}; use vapore::client::SteamClient; #[tokio::main] pub async fn main() -> eyre::Result<()> { env_logger::init(); color_eyre::install()?; let servers = vapore::selection::bootstrap_find_servers().await?; log::debug!("Found servers: {:?}", servers); let client = SteamClient::connect(&servers).await?; let username = dialoguer::Input::::new() .with_prompt("Username") .interact_text()?; let password = dialoguer::Password::new() .with_prompt("Password") .interact()?; let guard_code = dialoguer::Input::::new() .with_prompt("Steam Guard Code") .interact_text()?; client .auth_password(username, password, Some(guard_code)) .await?; Ok(()) }