reanahub / reana-client

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

cli: reuse output printing logic for `list`, `ls` and `status` commands #640

Closed audrium closed 1 year ago

audrium commented 1 year ago

Right now we have a very similar chuck of code to print out the output data for list, ls and status commands. Example could be found here: https://github.com/reanahub/reana-client/blob/master/reana_client/cli/files.py#L158-L177 We should try to improve this by reusing the logic without duplication.