yugabyte / yugabyte-db

YugabyteDB - the cloud native distributed SQL database for mission-critical applications.
https://www.yugabyte.com
Other
9k stars 1.07k forks source link

standardize yb-ctl and yb-docker-ctl option passing #2440

Open schoudhury opened 5 years ago

schoudhury commented 5 years ago

yb-ctl option passing is done differently than yb-docker-ctl. For example ./bin/yb-ctl create --rf 3 does not work but ./yb-docker-ctl create --rf 3 works.

We should standardize both these CLIs to only way of option passing and that way should be the commonly-used/industry-default way.

Will do more research on what other popular CLIs like kubectl do and update this issue.

schoudhury commented 5 years ago

We would like to use kubectl as the standard here. With that in mind kubectl describe --help works but kubectl --help describe does not. This means our yb-ctl implementation has to be changed to match that of yb-docker-ctl.