mirror of
https://github.com/YunoHost/yunorunner.git
synced 2024-09-03 20:05:52 +02:00
[enh] on job listing display jobs' states
This commit is contained in:
parent
7c518ff0d8
commit
662cc0596f
1 changed files with 1 additions and 1 deletions
2
cli.py
2
cli.py
|
@ -78,7 +78,7 @@ def list_(all=False, domain=DOMAIN):
|
||||||
)
|
)
|
||||||
|
|
||||||
for i in response.json():
|
for i in response.json():
|
||||||
print(f"{i['id']:4d} - {i['name']}")
|
print(f"{i['id']:4d} - {i['name']} [{i['state']}]")
|
||||||
|
|
||||||
|
|
||||||
def delete(job_id, domain=DOMAIN):
|
def delete(job_id, domain=DOMAIN):
|
||||||
|
|
Loading…
Add table
Reference in a new issue