1 2 3 4 5 6 7 8 9 10
use squarecloud::ApiClient; #[tokio::main] async fn main() { let client = ApiClient::new(); let app_id = std::env::args() .nth(1) .expect("usage: cargo run --example NAME -- <app_id>"); client.app(&app_id).stop().await.unwrap(); }