(action: &str)
| 75 | } |
| 76 | |
| 77 | fn print_status(action: &str) { |
| 78 | println!( |
| 79 | "{}", |
| 80 | serde_json::to_string_pretty(&serde_json::json!({ |
| 81 | "ok": true, |
| 82 | "service": "com.apple.CoreSimulator.CoreSimulatorService", |
| 83 | "action": action, |
| 84 | })) |
| 85 | .unwrap() |
| 86 | ); |
| 87 | } |