Design Database Lab CLI

Goal

Create a CLI tool for using Database Lab API.

TODO / How to implement

Suggest the next design of the Database Lab CLI:

// Clone management
dblab clone list
dblab clone create
dblab clone destroy CLONE_ID
dblab clone reset CLONE_ID
dblab clone get CLONE_ID

// Instance management
dblab instantce status

// Snapshot management
dblab snapshot list

// CLI management
dblab config create ENVIRONMENT_ID
dblab config update ENVIRONMENT_ID
dblab config view [ENVIRONMENT_ID]
dblab config list
dblab config switch ENVIRONMENT_ID
dblab config remove ENVIRONMENT_ID

// Getting started
dblab init

Moreover, we are going to change a compiled filename of the Database Lab server from dblab to dblab-server. So, the dblab name will become free and will be used for the CLI binary.

Acceptance criteria

Edited by Artyom Kartasov