To run this program you need to setup the following environment variables, this can either be done by exporting them or creating a .env file in the working directory.
CLIENT_SECRET=<IZettle API Client Secret>
CLIENT_ID=<IZettle API Client ID>
USERNAME=<IZettle Admin Account Username>
PASSWORD=<IZettle Admin Account Password>
Dates are written in the YYYY-MM-dd format.
Input Parameters:
- -v Verbose mode
- -d [date] specify payout date