pokecli/internal/commands/pokedex.go
Dan Anglin 8b03ba7be1
refactor: move command funcs to internal package
Move the command functions to the new internal commands package
2024-09-21 16:53:11 +01:00

11 lines
240 B
Go

package commands
import "codeflow.dananglin.me.uk/apollo/pokedex/internal/poketrainer"
func PokedexFunc(trainer *poketrainer.Trainer) CommandFunc {
return func(_ []string) error {
trainer.ListAllPokemonFromPokedex()
return nil
}
}