StackStorm/st2

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

開放

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

 (5 則留言) (1 個反應) (0 位負責人)Python (740 個分叉)batch import
CLIenhancementgood first issue

倉庫指標

星標
 (5,794 顆星)
PR 合併指標
 (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.

貢獻者指南