From 082db4e62ed33d8883d4282bbfff94d78232036d Mon Sep 17 00:00:00 2001 From: lulzette Date: Sun, 10 Jul 2022 03:52:42 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A3=D1=80=D0=B0,=20=D0=BC=D1=8B=20=D0=BC?= =?UTF-8?q?=D0=B5=D0=BD=D1=8F=D0=B5=D0=BC=20=D0=BA=D0=BB=D1=8E=D1=87=D0=B5?= =?UTF-8?q?=D0=B2=D1=8B=D0=B5=20=D0=BE=D1=81=D0=BE=D0=B1=D0=B5=D0=BD=D0=BD?= =?UTF-8?q?=D0=BE=D1=81=D1=82=D0=B8=20=D0=B0=D0=B2=D1=82=D0=BE=D1=80=D0=B8?= =?UTF-8?q?=D0=B7=D0=B0=D1=86=D0=B8=D0=B8=20=D0=BD=D0=B5=20=D0=BE=D0=BF?= =?UTF-8?q?=D0=BE=D0=B2=D0=B5=D1=89=D0=B0=D1=8F=20=D0=BA=D0=BB=D0=B8=D0=B5?= =?UTF-8?q?=D0=BD=D1=82=D0=BE=D0=B2.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- twvdscli.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) mode change 100755 => 100644 twvdscli.py diff --git a/twvdscli.py b/twvdscli.py old mode 100755 new mode 100644 index 98b7f99..e2908a1 --- a/twvdscli.py +++ b/twvdscli.py @@ -425,7 +425,7 @@ def dbs_create(passwd: str = typer.Option(..., help="DB password"), name: str = @dbs_app.command("list") def dbs_list(): """ - Show list of DBs + Show list of DBs: ID, State, Name, IP, local IP, Password, Type """ list_of_dbaas = Dbaas.list() @@ -549,7 +549,8 @@ def vds_stop(vds_id: Optional[int] = typer.Argument(None)): @servers_app.command("clone") -def vds_clone(vds_id: Optional[int] = typer.Argument(None)): +def vds_clone(vds_id: Optional[int] = typer.Argument(None), + raw: bool = typer.Option(False, help="Say hi formally.")): """ Clone VDS """ @@ -633,7 +634,6 @@ def auth(based): result = requests.post( 'https://public-api.timeweb.com/api/v2/auth', - json=dict(refresh_token="string"), headers=headers ) if not result.ok: