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

Method run

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

Source from the content-addressed store, hash-verified

303
304impl Command for Lifecycle {
305 fn run(&self) -> CliResult<()> {
306 match &self.command {
307 LifecycleCommands::Begin(cmd) => cmd.run(),
308 LifecycleCommands::Renew(cmd) => cmd.run(),
309 LifecycleCommands::Stop(cmd) => cmd.run(),
310 LifecycleCommands::Resume(cmd) => cmd.run(),
311 LifecycleCommands::Abandon(cmd) => cmd.run(),
312 LifecycleCommands::End(cmd) => cmd.run(),
313 LifecycleCommands::Status(cmd) => cmd.run(),
314 }
315 }
316}
317
318impl 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