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.
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.