tonycituk / pokecurl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pokecurl ๐Ÿ‘พ๐Ÿ‘จโ€๐Ÿ’ป

How to use it

Insert the pokemon of your selection

bash pokecurl.sh <your-favorite-pokemon>

Examples

Ditto

bash pokecurl.sh ditto

OUTPUT: Id=132, name=ditto, weight=40, height=3, order=214

Bulbasaur

bash pokecurl.sh bulbasaur

OUTPUT: Id=1, name=bulbasaur, weight=69, height=7, order=1

Error handling

Not passing pokemon

bash pokecurl.sh

OUTPUT: Please make sure you are entering a pokemon.

Pokemon does not exist

bash pokecurl.sh agumon

OUTPUT: agumon does not exist bro :(. Check if you are entering it's correct name.

About


Languages

Language:Shell 100.0%