Some PEP-8
This commit is contained in:
parent
202ab2e2d3
commit
56780a615c
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
.idea
|
||||
__pycache__
|
||||
venv
|
10
twvdscli.py
10
twvdscli.py
@ -276,7 +276,15 @@ def vds_list():
|
||||
state = typer.style('Stopped', fg=typer.colors.RED)
|
||||
else:
|
||||
state = i['status']
|
||||
x.add_row([i['id'], state, i['name'], i['ip'], i['configuration']['cpu'], i['configuration']['ram'], i['configuration']['disk_size']])
|
||||
x.add_row([
|
||||
i['id'],
|
||||
state,
|
||||
i['name'],
|
||||
i['ip'],
|
||||
i['configuration']['cpu'],
|
||||
i['configuration']['ram'],
|
||||
i['configuration']['disk_size']
|
||||
])
|
||||
print(x)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user