Watch feature
cstyan opened this issue · 4 comments
Having a built in watch feature so you can run once with --live
and just leave the program running would be nice. Running through bash watch
removes all your nice formatting and colour.
Really nice idea. I admit I haven't ever tried the --live
option. Or at least when I have there has been no live matches happening at that time.
Presumably it could be done by a blocking function that polls the API every so often and prints out any changes?
As far as I can tell live just prints out the current scores for all games being played that day. It will also print games that haven't started yet and what their start time is. Having a periodic call and clearing/printing the new data would work.
Has this feature been completed or is someone working on it? Was thinking I could take a stab if not.
Thanks :)
Andy
I know we had PR #88, but it never got merged. You might want to take a look there and see if @tusharmakkar08 wants to update it or abandon it.