Command Line Interface
Command Line Usage
The CLI tool is provided mainly for quick tests and debugging.
General help
python3 -m mindee --helpExample command help
python3 -m mindee parse --helpExample parse command for Off-the-Shelf document
python3 -m mindee parse invoice --key xxxxxxx /path/to/invoice.pdfWorks with environment variables
export MINDEE_API_KEY=xxxxxx
python3 -m mindee parse invoice /path/to/invoice.pdfExample parse command for a custom document
python3 -m mindee parse custom -a pikachu -k xxxxxxx pokemon_card /path/to/card.jpgExample async parse command
python3 -m mindee parse invoice-splitter Full parsed output
python3 -m mindee invoice -o parsed /path/to/invoice.pdfRunning the script through shell
A helper script allows you to start the command directly:
./mindee-cli.sh -hLast updated
Was this helpful?

