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

Method run

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

Source from the content-addressed store, hash-verified

221
222impl Command for View {
223 fn run(&self) -> CliResult<()> {
224 match &self.command {
225 ViewCommands::Create(cmd) => cmd.run(),
226 ViewCommands::Split(cmd) => cmd.run(),
227 ViewCommands::Switch(cmd) => cmd.run(),
228 ViewCommands::Delete(cmd) => cmd.run(),
229 ViewCommands::List(cmd) => cmd.run(),
230 ViewCommands::Show(cmd) => cmd.run(),
231 ViewCommands::Promote(cmd) => cmd.run(),
232 }
233 }
234}
235
236// Tests

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected