StackStorm/st2

print elapsed time in user friendly format instead of seconds on cli

Open

#4944 aperta il 12 mag 2020

Vedi su GitHub
 (5 commenti) (1 reazione) (0 assegnatari)Python (740 fork)batch import
CLIenhancementgood first issue

Metriche repository

Star
 (5794 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

This is not a bug but just a small user experience improvement.

When we get the status of execution using the st2 cli time is mentioned in seconds it would be nice to print time in a user-friendly format.

image

ex: running (339s elapsed), could be: running (5m39s elapsed)

I'll try to make a pr with the changes if its okay.

Guida contributor