reanahub / reana-cluster

REANA cluster management
http://reana-cluster.readthedocs.io/
5 stars 23 forks source link

cli: add options and parameters to last written command #222

Closed diegodelemos closed 4 years ago

diegodelemos commented 5 years ago

Stemmed from https://github.com/reanahub/reana-cluster/pull/217#discussion_r313383234.

Currently, all parameters which have to to with how to build the REANA-Cluster templates are loaded in the cli/__init__.py, this is because the templates are rendered in this function call.

This is the technical reason behind why we have to do:

$ reana-cluster --ui init

But we should do the following:

$ reana-cluster init --ui

Which is more natural.

diegodelemos commented 4 years ago

More details by @tiborsimko here https://github.com/reanahub/reana/pull/226#issuecomment-562083340.

diegodelemos commented 4 years ago

This issue won't be fixed since soon REANA-Cluster will be deprecated in favor of Helm based deployments.