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

Method run

atomic-cli/src/commands/intent/mod.rs:117–130  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

115
116impl Command for Intent {
117 fn run(&self) -> CliResult<()> {
118 match &self.command {
119 IntentCommands::Validate(cmd) => cmd.run(),
120 IntentCommands::Show(cmd) => cmd.run(),
121 IntentCommands::Graph(cmd) => cmd.run(),
122 IntentCommands::New(cmd) => cmd.run(),
123 IntentCommands::Attest(cmd) => cmd.run(),
124 IntentCommands::Verify(cmd) => cmd.run(),
125 IntentCommands::List(cmd) => cmd.run(),
126 IntentCommands::Update(cmd) => cmd.run(),
127 IntentCommands::Delete(cmd) => cmd.run(),
128 IntentCommands::Link(cmd) => cmd.run(),
129 }
130 }
131}
132
133/// A validation-failure error: the canonical gate reported a non-conforming

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected