A CLI tool for viewing data about Pokémon from your terminal!
- Make sure Go is installed on your machine. This project uses
v1.21
.- If on Windows, install Git as well.
- Create a new directory.
- For example, name the directory
poke-cli
. - Run
cd poke-cli
to move into that directory after creation. - Run
git init
to initialize the repository/directory.
- For example, name the directory
- Clone the repository in the previously initialized directory:
git clone https://github.com/digitalghost-dev/poke-cli.git
- Run
go build .
- A binary will be created then the tool can be used! It can also be added to your path to run the binary from anywhere.
- Example usage:
# Windows
.\poke-cli.exe charizard --types --abilities
# Unix
.\poke-cli vespiquen --types --abilities
Use a Docker Image instead:
docker run --rm -it digitalghostdev/poke-cli:v0.3.2 [command] [flag]
By running poke-cli --help
, it'll display information on how to use the tool.
Welcome! This tool displays data about a selected Pokémon in the terminal!
USAGE:
poke-cli [flag]
poke-cli [pokemon name] [flag]
----------
Example: poke-cli bulbasaur or poke-cli flutter-mane --types
GLOBAL FLAGS:
-h, --help Shows the help menu
POKEMON NAME FLAGS:
Add a flag after declaring a Pokémon's name for more details!
--types
--abilities