I've got some long-running commands that can last 15 minutes or more.
Is there a way to output a dynamic "time spent" section in the output?
E.g.
$ `do something long`
10 mins 15 secs
Refreshing state...
then:
$ `do something long`
14 mins 15 secs
Refreshing state...
Output results
$ ... and we're done