StackStorm/st2

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

Open

#4.944 geöffnet am 12. Mai 2020

Auf GitHub ansehen
 (5 Kommentare) (1 Reaktion) (0 zugewiesene Personen)Python (740 Forks)batch import
CLIenhancementgood first issue

Repository-Metriken

Stars
 (5.794 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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.

Contributor Guide