A command-line Pokédex tool built in Go that allows you to explore the Pokémon world, catch Pokémon, and manage your collection.
- Explore location areas and discover Pokémon
- Catch and collect Pokémon
- View details of caught Pokémon
- Thread-safe in-memory cache with TTL for API responses
- Comprehensive test coverage for cache functionality
git clone https://github.com/Cheemx/pokedexcli
cd pokedexcli
go build
./pokedexclihelp- Display available commandsmap- Show 20 location areas in the Pokémon worldmapb- Show previous 20 locationsexplore <location>- List Pokémon found in a specific locationcatch <pokemon>- Attempt to catch a Pokémoninspect <pokemon>- View details of a caught Pokémonpokedex- List all caught Pokémonexit- Quit the application
./pokedexcli
Pokedex > help
Pokedex > map
Pokedex > explore canalave-city-area
Pokedex > catch pikachu
Pokedex > inspect pikachu
Pokedex > pokedexgo test ./...If you've read it till this end, consider giving a star!
Built with ❤️ using Go, designed for learning and fun by Cheemx!