Phillip England
A cli used for sorting .pdf receipts and generating invoices
1cargo install finli
.pdf files must be named as follows:
1[DATE][VENDOR][COST][DESCRIPTION][CATEGORY][LOCATION]
Here is a valid name: 010125-target-10.95-pants-uniforms-southroads.pdf
Creates an invoice from a directory full of .pdf files:
1finli generate ./some_dir "INVOICE TITLE"
Takes a directory full of invoices, scans for 'split' receipts, duplicates them over 'southroads' and 'utica', then sorts each receipt by location into subdirectories.
1finli sort ./some_dir ./some_destination