diff --git a/cargo-shuttle/src/lib.rs b/cargo-shuttle/src/lib.rs index 295fcd927..1cf861850 100644 --- a/cargo-shuttle/src/lib.rs +++ b/cargo-shuttle/src/lib.rs @@ -241,6 +241,10 @@ impl Shuttle { self.load_project(&mut project_args)?; self.project_create(&self.client()?, IDLE_MINUTES).await?; + } else { + println!( + "Run `cargo shuttle project start` to create a project environment on Shuttle." + ); } Ok(()) @@ -324,6 +328,7 @@ impl Shuttle { progress_bar.finish_and_clear(); println!("{}\n{}", "Successfully stopped service".bold(), service); + println!("Run `cargo shuttle deploy` to re-deploy your service."); Ok(()) } @@ -425,6 +430,7 @@ impl Shuttle { let table = get_deployments_table(&deployments, proj_name.as_str()); println!("{table}"); + println!("Run `cargo shuttle logs ` to get logs for a given deployment."); Ok(()) } @@ -785,6 +791,11 @@ impl Shuttle { } } + println!( + "Run `cargo shuttle project start` to create a project environment on Shuttle.\n\ + Run `cargo shuttle deploy` to deploy your Shuttle service." + ); + // If prior signal received is set to true we must stop all the existing runtimes and // exit the `local_run`. if signal_received { @@ -881,6 +892,11 @@ impl Shuttle { ); } + println!( + "Run `cargo shuttle project start` to create a project environment on Shuttle.\n\ + Run `cargo shuttle deploy` to deploy your Shuttle service." + ); + Ok(()) } @@ -1013,6 +1029,7 @@ impl Shuttle { client, ) .await?; + println!("Run `cargo shuttle deploy` to deploy your Shuttle service."); Ok(()) } @@ -1069,6 +1086,7 @@ impl Shuttle { client, ) .await?; + println!("Run `cargo shuttle project start` to recreate project environment on Shuttle."); Ok(()) }