StackStorm/st2

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

Open

#4,944 建立於 2020年5月12日

在 GitHub 查看
 (5 留言) (1 反應) (0 負責人)Python (740 fork)batch import
CLIenhancementgood first issue

倉庫指標

Star
 (5,794 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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.

貢獻者指南