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

Method run

atomic-cli/src/commands/agent/lifecycle.rs:317–327  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

315
316impl Command for Lifecycle {
317 fn run(&self) -> CliResult<()> {
318 match &self.command {
319 LifecycleCommands::Begin(cmd) => cmd.run(),
320 LifecycleCommands::Renew(cmd) => cmd.run(),
321 LifecycleCommands::Stop(cmd) => cmd.run(),
322 LifecycleCommands::Resume(cmd) => cmd.run(),
323 LifecycleCommands::Abandon(cmd) => cmd.run(),
324 LifecycleCommands::End(cmd) => cmd.run(),
325 LifecycleCommands::Status(cmd) => cmd.run(),
326 }
327 }
328}
329
330impl Begin {

Callers

nothing calls this directly

Calls 15

resolve_dot_dirFunction · 0.85
validate_nameFunction · 0.85
canonicalize_lenientFunction · 0.85
current_dir_canonicalFunction · 0.85
now_secsFunction · 0.85
lifecycle_dirFunction · 0.85
list_lifecyclesFunction · 0.85
resume_lifecycle_turnsFunction · 0.85
save_lifecycleFunction · 0.85
print_lifecycleFunction · 0.85
load_lifecycleFunction · 0.85
stop_lifecycle_turnsFunction · 0.85

Tested by

no test coverage detected