reanahub / reana-client

REANA command-line client
http://reana-client.readthedocs.io/
MIT License
10 stars 46 forks source link

cli: add option to show workflow duration to `list` and `status` commands #618

Closed mdonadoni closed 2 years ago

mdonadoni commented 2 years ago

Closes #616

How to test:

  1. Execute and create some workflows
  2. Run reana-client list --include-duration
  3. Run reana-client list --include-duration --sort duration
  4. Run reana-client status -w workflow --include-duration

Expected result: the durations of the workflows are correctly displayed and the entries are sorted in the right order