gtctl
gtctl copied to clipboard
Proposal: subcommand system
As we are planning to integrate more functionalities into this utility. I'm considering to create a subcommand system ahead of time for future extensibility. The idea is to have three categories of commands:
gtctl clustermanages cluster on kubernetes or other platform. We will need to migrate all existing commands into this category, saygtctl create clusteris to be renamed togtctl cluster creategtctl dbmanages databasesgtctl cloudmanages cloud accounts
Note that this architecture is from user's perspective. Internally we don't need to integrate all functionalities into one binary and can utilize an architecture like git or cargo to forward calls to certain binary. For example, gtctl db to gtctl-db