[enh] on job listing display jobs' states

This commit is contained in:
Laurent Peuch 2018-09-03 06:42:32 +02:00
parent 7c518ff0d8
commit 662cc0596f

2
cli.py
View file

@ -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):