Closed AkaTenshi closed 3 years ago
Hey @AkaTenshi,
I really like the idea about using the CLI for archiving statements and will look most likely at some point this week more in detail into the PR code.
Thanks for your improvement suggestion! :)
Looks good to me :+1:
Hello, since the statements-command already retrieves the urls of the statements I added an option to download these pdfs as well. Simply supply a directory via the '--download'-option to the statements-command and each statement gets saved there as separate pdf-file. Additionally there are some new options to filter statements by id or date. Useful if you just want to list / download a subset of the statements. The changes are fully backwards-compatible. My plan with this is to grab last months statement via cronjob or so (for archival purposes). Maybe this is useful to someone else as well. Or you can somehow merge this with the existing feature/show-statement branch :)