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.

贡献者指南