pytr-org / pytr

Use TradeRepublic in terminal and mass download all documents
https://pypi.org/project/pytr/
MIT License
382 stars 68 forks source link

dl_docs: error: the following arguments are required: PATH #9

Closed DanielGuo1 closed 2 years ago

DanielGuo1 commented 2 years ago

Description of the bug Thanks for the great work. I used the tool for the first time today. Login, portfolio and the other functions work perfectly. I only get the error message for the dl_docs:

Error log

(virtualenv) C:\Users\guowe\PycharmProjects\traderepublic>pytr dl_docs
usage: pytr dl_docs [-h] [--format FORMAT_STRING] [--last_days DAYS] PATH
pytr dl_docs: error: the following arguments are required: PATH

Environment

Thanks a lot for the work! Do you need more information regarding the error log?

marzzzello commented 2 years ago

You need to specify a path or directory as argument:

pytr dl_docs foldername