From 662cc0596fc19b14d7bac94db0058f7d010f921f Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Mon, 3 Sep 2018 06:42:32 +0200 Subject: [PATCH] [enh] on job listing display jobs' states --- cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli.py b/cli.py index 31c12b3..afb56dd 100644 --- a/cli.py +++ b/cli.py @@ -78,7 +78,7 @@ def list_(all=False, domain=DOMAIN): ) 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):