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

Function check_variant

atomic-cli/src/commands/org/member.rs:661–668  ·  view source on GitHub ↗
(cmd: &MemberCommands)

Source from the content-addressed store, hash-verified

659 #[test]
660 fn command_variants() {
661 fn check_variant(cmd: &MemberCommands) -> &'static str {
662 match cmd {
663 MemberCommands::List(_) => "list",
664 MemberCommands::Add(_) => "add",
665 MemberCommands::Update(_) => "update",
666 MemberCommands::Remove(_) => "remove",
667 }
668 }
669
670 let list = MemberList {
671 org: None,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected