MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / run

Method run

atomic-cli/src/commands/intent/verify.rs:65–74  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

63
64impl 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
77impl IntentVerify {

Callers

nothing calls this directly

Calls 1

executeMethod · 0.45

Tested by

no test coverage detected