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