/pokedex-cli

A Pokedex CLI written in Go

Primary LanguageGo

Pokedex CLI

This is a pokedex cli application written in Go. It was a learning exercise from Boot.dev. Data is from the PokeAPI.

Commands

  • catch <pokemon_name>: Attempts to catch a pokemon and add it to your pokedex
  • exit: Exit the Pokedex
  • explore: Lists the Pokemon in your current location area. You don't have a starting location, so make sure you travel to a location area first.
  • help: Displays a help message
  • inspect <pokemon_name>: View information about a caught pokemon
  • map: Displays the next 20 location areas
  • mapb: Displays the previous 20 location areas
  • pokedex: View all your caught pokemon
  • travel <area_name>: Travel to a specific location area

Run Locally

Clone the project

  git clone https://github.com/ryanmercadante/pokedex-cli

Go to the project directory

  cd pokedex-cli

Run

  go run .

Build

  go build && ./pokedex-cli

🔗 Links

linkedin twitter