The CLI tool is provided mainly for quick tests and debugging.
./mindee generated --help
Note: Due to the limited-nature of most PHP CLI tools, the help sections aren't customized for each command.
./mindee invoice -k xxxxxxx /path/to/invoice.pdf
export MINDEE_API_KEY=xxxxxx
./mindee invoice /path/to/invoice.pdf
./mindee generated -a pikachu -k xxxxxxx pokemon_card /path/to/card.jpg -A
./mindee invoice-splitter path/to/the/invoice.pdf -A
Note: the
-A
can be omitted on products which do not support synchronous mode.
./mindee invoice-splitter path/to/the/invoice.pdf -A
./mindee custom -a pikachu -k xxxxxxx pokemon_card /path/to/card.jpg
./mindee invoice -k xxxxxxx /path/to/invoice.pdf -o raw
A helper script allows you to start the command directly:
php bin/cli.php