result := mySet.FindCommand("command1")

fmt.Println(result.Name()) // Returns 'command1'