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

Function check_variant

atomic-cli/src/commands/team/mod.rs:188–197  ·  view source on GitHub ↗
(cmd: &TeamCommands)

Source from the content-addressed store, hash-verified

186 #[test]
187 fn test_team_commands_variants() {
188 fn check_variant(cmd: &TeamCommands) -> &'static str {
189 match cmd {
190 TeamCommands::List(_) => "list",
191 TeamCommands::Create(_) => "create",
192 TeamCommands::Show(_) => "show",
193 TeamCommands::Update(_) => "update",
194 TeamCommands::Delete(_) => "delete",
195 TeamCommands::Member(_) => "member",
196 }
197 }
198
199 let list = list::TeamList {
200 org: None,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected