diff --git a/pkg/cli/cli.go b/pkg/cli/cli.go index febd584..e1033e5 100644 --- a/pkg/cli/cli.go +++ b/pkg/cli/cli.go @@ -41,9 +41,10 @@ func Start() { func getGamesFromProvider(provider string) []games.Game { var games []games.Game - if provider == "steam" { + switch provider { + case "steam": games = append(games, steam.GetGames()...) - } else if provider == "minecraft" { + case "minecraft": games = append(games, minecraft.GetGames()...) } return games