anilshanbhag / RobinhoodShell

A command line shell for trading stocks using Robinhood
MIT License
411 stars 94 forks source link

Way to pass parameters? #13

Closed cole-seph closed 5 years ago

cole-seph commented 6 years ago

Are parameters currently supported in any fashion? (Aside from simply changing the shell code) Would be really nice to call this from another script and work in my own automation from there Ex: ./shell.py -l

cfarthingale commented 6 years ago

I am interested in the answer to this question as well as the option to pass parameters in a script like this could be useful in monitoring various RH account information using bash/conky. -Thank you.

anilshanbhag commented 6 years ago

There is no way to do it currently. However, it shouldn't be hard to do it - you need to pass the command line arg to Command. Feel free to submit a pull request for it.