Skip to content

Cheemx/pokedexcli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PokedexCLI

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.

Features

  • 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

Installation

git clone https://github.com/Cheemx/pokedexcli
cd pokedexcli
go build
./pokedexcli

Commands

  • help - Display available commands
  • map - Show 20 location areas in the Pokémon world
  • mapb - Show previous 20 locations
  • explore <location> - List Pokémon found in a specific location
  • catch <pokemon> - Attempt to catch a Pokémon
  • inspect <pokemon> - View details of a caught Pokémon
  • pokedex - List all caught Pokémon
  • exit - Quit the application

Usage

./pokedexcli
Pokedex > help
Pokedex > map
Pokedex > explore canalave-city-area
Pokedex > catch pikachu
Pokedex > inspect pikachu
Pokedex > pokedex

Testing

go test ./...

Conclusion

If you've read it till this end, consider giving a star!

Built with ❤️ using Go, designed for learning and fun by Cheemx!

About

CLI tool to play around with Pokémon world, catch Pokémon, and manage your collection.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages