(&self)
| 94 | |
| 95 | impl Command for ProjectInit { |
| 96 | fn run(&self) -> CliResult<()> { |
| 97 | let rt = tokio::runtime::Runtime::new().map_err(|e| { |
| 98 | CliError::Internal(anyhow::anyhow!("Failed to create async runtime: {}", e)) |
| 99 | })?; |
| 100 | |
| 101 | rt.block_on(self.execute()) |
| 102 | } |
| 103 | } |
| 104 | |
| 105 | impl ProjectInit { |