rsdex

A little command line tool written in rust that acts like the pokedex
Thank you to PokeAPI for providing the data for this project
Installing
Rust
if you have rust installed you can use cargo install rsdex
Windows
go to the latest release and copy the power shell script into the command prompt and let it do its work
Linux
go to the latest release and copy the shell script into the terminal
Usage
Multiple Queries
as of 0.1.60 you can now make as many queries as you want for queries that can return multiple pokemon it will return all of them that meet all the critera for quiries that only retrun one pokemon it will append the pokemon to the end
Dex and Name
rsdex 1 which will return bulbasaur's pokedex entry or
rsdex bulbasaur witch will also return bulbasaur pokedex info
if the pokemon has a space in the name replace it with a -
Type and Color
rsdex fire to get all fire type pokemon or
rsdex blue to get all the blue pokemon
Stat
To filter by stat you append the stat you want to the end such as
rsdex 20hp for Health
rsdex 20a for Attack
rsdex 20d for Defence
rsdex 20sa for Special Attack
rsdex 20sd for Special Defence
rsdex 20s for Speed
you can also do get stats with ≤ or ≥ the stat value by adding l or g to the begaining
rsdex g100hp returns all pokemon with ≥ 100 hp
rsdex l50s returns all pokemon with ≤ 50 speed
Egg Group
filtering by egg group is posible and for the egg groups that share a name with types add egg to the end
rsdex field for pokemon in the field egg group
rsdex fairyegg for the fairy egg group
Range
if you need the pokemon between say 50 and 100 you can do that with rsdex 50..100 it accepts numbers 1 ≤ n ≤ max pokedex number
Compound Searches
if you do rsdex blue and fire you will get cerulege because they are both blue and fire type
Flags
if you add --detailed or -d to the end of a search along with a number 0-5 and you'll get a more detailed summary Example rsdex 1 -d 5
Writing to file
when you do rsdex red --fp "red_pokemon.json" it will save the reasults to the specified file path
you can also add the --write_mode write mode to the end of it to change the write mode to another type
it also takes into acount the level of detail set
the pretty flag is set the write will be pretty if available
currently json,jsonl,and csv is supported