Run git clone https://github.com/carlogy/pokedex_go.git
- Running application
- Run
make run
this will execute go build and run the compiled binary
- Run
- Tests
- Verbose test results run
make test-v
- Regular test results run
make test
- Verbose test results run
- Compilation
- Cross-compile run
make compile
- Cross-compile run
- All command
- Running
make all
will test then cross compile
- Running
This is a breakdown of the current commands supported by the pokedex.
help
- similar to man, will list all inputs and a brief descriptionmap
- makes a paginated call to the PokeAPI and returns 20 locations- Make subsequent calls for 20 more locations
mapb
- returns the 20 previous locationsexplore {location-name-here}
- explores that current location and returns Pokemon in that areacatch {pokemon name}
- attemps to capture the specified pokemon.- if captured the pokemon is stored in your pokedex
inspect {pokemon name}
- inspects a given pokemon that you caught and prints specific data on that pokemon.pokedex
- prints out all of your pokedex entries.quit
- quits the program