package main import ( "fmt" "k3gtpi.jumpingcrab.com/go-learning/pokedexcli/internal/pokecache" ) func commandHelp(p *PokedexConfig, c *pokecache.Cache) error { fmt.Print("Pokedex CLI - available commands:\n\n") for _, v := range getCommands() { fmt.Printf("%s %s\n", v.name, v.description) } fmt.Println() return nil }