(metadata: &ServiceMetadata, started: bool)
| 1859 | } |
| 1860 | |
| 1861 | fn print_service_start_result(metadata: &ServiceMetadata, started: bool) -> anyhow::Result<()> { |
| 1862 | println_json(&serde_json::json!({ |
| 1863 | "ok": true, |
| 1864 | "projectRoot": metadata.project_root, |
| 1865 | "pid": metadata.pid, |
| 1866 | "url": metadata.http_url, |
| 1867 | "pairingCode": metadata.pairing_code, |
| 1868 | "started": started |
| 1869 | })) |
| 1870 | } |
| 1871 | |
| 1872 | fn print_service_metadata_result( |
| 1873 | metadata: &ServiceMetadata, |
no test coverage detected