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

Method run

atomic-cli/src/commands/agent/mod.rs:289–303  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

287
288impl Command for Agent {
289 fn run(&self) -> CliResult<()> {
290 match &self.command {
291 AgentCommands::Enable(cmd) => cmd.run(),
292 AgentCommands::Disable(cmd) => cmd.run(),
293 AgentCommands::Status(cmd) => cmd.run(),
294 AgentCommands::Explain(cmd) => cmd.run(),
295 AgentCommands::Attest(cmd) => cmd.run(),
296 AgentCommands::Repair(cmd) => cmd.run(),
297 AgentCommands::Lifecycle(cmd) => cmd.run(),
298 AgentCommands::Identity(cmd) => cmd.run(),
299 AgentCommands::Hooks(cmd) => cmd.run(),
300 AgentCommands::JournalRpcSelftest(cmd) => cmd.run(),
301 AgentCommands::Receive(cmd) => cmd.run(),
302 }
303 }
304}
305
306// Tests

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected