(&self)
| 63 | |
| 64 | impl Command for IntentVerify { |
| 65 | fn run(&self) -> CliResult<()> { |
| 66 | // Remote resolution (identities/resolve) needs async. Build a |
| 67 | // one-shot runtime rather than depending on the caller being inside |
| 68 | // tokio, exactly like `identity register`. |
| 69 | let rt = tokio::runtime::Runtime::new().map_err(|e| { |
| 70 | CliError::Internal(anyhow::anyhow!("Failed to create async runtime: {e}")) |
| 71 | })?; |
| 72 | |
| 73 | rt.block_on(self.execute()) |
| 74 | } |
| 75 | } |
| 76 | |
| 77 | impl IntentVerify { |