jasonBirchall / crypto

NO LONGER UPDATED: Cryptocurrency tool for the command line
Apache License 2.0
6 stars 1 forks source link

Add global watch flag and implement in track command #27

Closed jasonBirchall closed 3 years ago

jasonBirchall commented 3 years ago

This required me to build a key value pair of the coin and its price, then I built the string to display track. Finally, if the user specifies --watch=true or -w=true then the command will continuously loop until a ctrl+c is issued.

You can now run crypto track --coin btc --watch=true for a continuous loop.