Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/builds.rs
Original file line number Diff line number Diff line change
Expand Up @@ -210,5 +210,8 @@ pub async fn handle_build_push(config_path: PathBuf, verbose: bool, message: Opt
)
.await?;

println!();
println!("Build ID: {}", creds.game_build_id);

Ok(())
}
11 changes: 10 additions & 1 deletion src/dev/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,17 @@ pub async fn handle_dev(config_path: Option<PathBuf>, verbose: bool, no_open: bo
entrypoint_params.as_ref(),
)?;

let file_count = std::fs::read_dir(&upload_dir)
.map(|entries| entries.filter(|e| e.as_ref().map(|e| e.path().is_file()).unwrap_or(false)).count())
.unwrap_or(0);

println!("--------------------------------");
println!("Sandbox Link:\n{}", sandbox_url);
println!(" Game: {}", wavedash_config.game_id);
println!(" Engine: {} v{}", engine_label, wavedash_config.engine_version()?);
println!(" Serving: {} ({} files)", wavedash_config.upload_dir.display(), file_count);
println!();
println!(" Sandbox Link:");
println!(" {}", sandbox_url);
println!("--------------------------------");

if !no_open {
Expand Down
3 changes: 3 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ async fn main() -> Result<()> {
Ok(result) => {
auth_manager.store_credentials(&result.api_key, result.email.as_deref())?;
println!("✓ Successfully authenticated!");
if let Some(ref email) = result.email {
println!("Email: {}", email);
}
}
Err(e) => {
eprintln!("Authentication failed: {}", e);
Expand Down