generated from templates/go-generic
12 lines
240 B
Go
12 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
|
||
|
}
|
||
|
}
|