StackStorm/st2

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

Aberta

#4.944 aberto em 12 de mai. de 2020

 (5 comentários) (1 reação) (0 responsável)Python (740 forks)batch import
CLIenhancementgood first issue

Métricas do repositório

Stars
 (5.794 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

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.

Guia do colaborador