PokeCLI is a example app built using Minicli. Minicli is an experimental dependency-free toolkit for building CLI-only applications in PHP created by @erikaheidi.
To get started, you'll need:
- php-cli
- ext-curl (How to install on Linux)
- Composer
Just clone this repo using:
git clone https://github.com/simonardejr/pokecli.git
And run composer install:
composer install
Once the clone and installation is finished, you can run pokecli
it with:
cd pokecli
./minicli pokemon fetchinfo name="bulbasaur"
If that doesn't work for you, you may have to use instead:
cd pokecli
php minicli pokemon fetchinfo name="bulbasaur"
This will show you the info of chosen Pokemon.
For more details on how to use Minicli, please refer to the official documentation.