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

Method run

atomic-cli/src/commands/vault/removed.rs:25–44  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

23
24impl Command for RemovedVaultIntent {
25 fn run(&self) -> CliResult<()> {
26 let run = match first_verb(&self.args) {
27 "create" | "new" => "atomic intent new \"<title>\"",
28 "show" => "atomic intent show <id>",
29 "list" => "atomic intent list",
30 "update" => "atomic intent update <id> --status <status>",
31 "delete" => "atomic intent delete <id>",
32 "link" => "atomic intent link <id> --goal <goal>",
33 "validate" => "atomic intent validate <id>",
34 "attest" => "atomic intent attest <id>",
35 "verify" => "atomic intent verify <id>",
36 _ => "atomic intent --help",
37 };
38 emit_removed(
39 "atomic vault intent",
40 "atomic intent",
41 "new show list validate attest verify update delete link",
42 run,
43 )
44 }
45}
46
47/// Removed: `atomic vault memory …` → `atomic memory …`.

Callers

nothing calls this directly

Calls 2

first_verbFunction · 0.85
emit_removedFunction · 0.85

Tested by

no test coverage detected