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

Method run

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

Source from the content-addressed store, hash-verified

311
312impl Command for Identity {
313 fn run(&self) -> CliResult<()> {
314 match &self.command {
315 IdentityCommands::New(cmd) => cmd.run(),
316 IdentityCommands::List(cmd) => cmd.run(),
317 IdentityCommands::Show(cmd) => cmd.run(),
318 IdentityCommands::Default(cmd) => cmd.run(),
319 IdentityCommands::Delete(cmd) => cmd.run(),
320 IdentityCommands::WhoAmI(cmd) => cmd.run(),
321 IdentityCommands::Register(cmd) => cmd.run(),
322 IdentityCommands::Sign(cmd) => cmd.run(),
323 IdentityCommands::Verify(cmd) => cmd.run(),
324 IdentityCommands::Agent(cmd) => cmd.run(),
325 IdentityCommands::Grant(cmd) => cmd.run(),
326 IdentityCommands::Delegate(cmd) => cmd.run(),
327 IdentityCommands::LookupKey(cmd) => cmd.run(),
328 }
329 }
330}
331
332// Default Subcommand

Callers

nothing calls this directly

Calls 9

print_warningFunction · 0.85
print_successFunction · 0.85
clear_defaultMethod · 0.80
load_by_nameMethod · 0.80
set_default_for_usageMethod · 0.80
parseFunction · 0.50
cloneMethod · 0.45
set_defaultMethod · 0.45

Tested by

no test coverage detected