use std::process::Command;
fn main() {
println!("🚀 AIW OAuth Quick Fix");
println!();
println!("The OAuth authentication is currently hanging due to Google API changes.");
println!();
println!("To fix this, you need to create your own Google OAuth credentials:");
println!();
println!("1. Go to https://console.cloud.google.com/");
println!("2. Create a new OAuth 2.0 Client ID");
println!("3. Application type: 'Desktop app'");
println!("4. Note down the Client ID and Client Secret");
println!("5. Set environment variables:");
println!(" export AIW_OAUTH_CLIENT_ID=your_client_id");
println!(" export AIW_OAUTH_CLIENT_SECRET=your_client_secret");
println!("6. Try 'aiw push' again");
println!();
println!("Alternatively, you can use the following test credentials temporarily:");
println!(" export AIW_OAUTH_CLIENT_ID=test-client-id");
println!(" export AIW_OAUTH_CLIENT_SECRET=test-client-secret");
println!();
println!("Note: Test credentials may not work with Google's production servers.");
}