- It's a simple REPL("read-eval-print loop"). You type in a command, and the program evaluates it and prints the result. You can then type in another command, and so on..
- Based on the commands entered we call PokeApi's endpoints and prints result.
- Clone repo
git clone https://github.com/Kireeti-28/pokedexcli.git
- Build & Start
go build && ./pokedexcli
- From here on we will start interacting with cli via commands.
- Avaliable Commands:
help
: Prints the help menumap
: List some location areasmapb
: List some location areas backwardexplore {location_area}
: Lists the pokemon in location areascatch {pokemon_name}
: Attempts to catch pokemon and add it to your pokedexinspect {pokemon_name}
: View information about caught pokemonpokedex
: Lists all your pokemons in your pokedexexit
: Turns off the Pokedex