From 8da2afc09d957f4c10ee93f18fc898b47cef8054 Mon Sep 17 00:00:00 2001 From: Lulzette Date: Wed, 27 Apr 2022 17:48:04 +0300 Subject: [PATCH] Added DB creation [2] --- twvdscli.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/twvdscli.py b/twvdscli.py index 1e1ce1f..98b7f99 100755 --- a/twvdscli.py +++ b/twvdscli.py @@ -404,6 +404,9 @@ def get_balance(): @dbs_app.command("create") def dbs_create(passwd: str = typer.Option(..., help="DB password"), name: str = typer.Option(..., help="DB Name"), db_type: str = typer.Option(..., help="mysql5/mysql/postgres")): + """ + Create database + """ # service_type == 341 - mysql # service_type == 357 - pgsql result = Dbaas.create(passwd=passwd, name=name, db_type=db_type)