Command Line Interface
Command Line Interface
Command Line Usage
The CLI tool is provided mainly for quick tests and debugging.
General help
./mindee generated --helpNote: Due to the limited-nature of most PHP CLI tools, the help sections aren't customized for each command.
Example parse command for Off-the-Shelf document
./mindee invoice -k xxxxxxx /path/to/invoice.pdfWorks with environment variables
export MINDEE_API_KEY=xxxxxx
./mindee invoice /path/to/invoice.pdfExample parse command for a generated document (DocTI)
./mindee generated -a pikachu -k xxxxxxx pokemon_card /path/to/card.jpg -AExample async parse command
./mindee invoice-splitter path/to/the/invoice.pdf -ANote: the
-Acan be omitted on products which do not support synchronous mode.
[DEPRECATED] Example parse command for a custom document (API Builder)
Full parsed output
Running the script through php
A helper script allows you to start the command directly:
Last updated
Was this helpful?

