reanahub / reana-client

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

cli: add --show-deleted-runs option to list command #613

Closed VMois closed 2 years ago

VMois commented 2 years ago

Desired behavior for this PR:

$ reana-client list  # do not show deleted workflows, show all other statuses
$ reana-client list --show-deleted-runs  # shows deleted workflows and all other statuses
$ reana-client list --all  # shows deleted workflows and all other statuses

$ reana-client list --filter name=myworkflow  # show workflows that match the name, do not show deleted workflows if any
$ reana-client list --filter name=myworkflow  --show-deleted-runs  # show workflows that match the name, show deleted workflows if any

$ reana-client list --filter status=deleted  # show deleted workflows, no need to use  "--show-deleted-runs"

How to test:

closes #612