mirror of
https://github.com/aljazceru/nutshell.git
synced 2026-01-01 16:04:27 +01:00
* Update deprecated datetime * Add options to Invoices cli With these options, we are able to return: 1) all invoices (this is the default); 2) pending invoices (paid False, out False); 3) paid invoices; 4) and unpaid invoices. * make format * Fix mypy error with datetime * sort imports * Remove unneeded unit when printing out info * Fix wrong method doc * Try to mint pending invoices * make pre-commit * Refactor --tests flag to --mint The default will be false, i.e., if the user does not pass in the --mint flag, it will not try to mint the pending invoice. --------- Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>