Add Celery task list output

This commit is contained in:
2020-01-12 14:01:47 -05:00
parent ed84df5237
commit 2057859b9f
4 changed files with 229 additions and 34 deletions

View File

@ -3029,11 +3029,11 @@ def provisioner_create(name, profile, wait_flag, define_flag, start_flag):
###############################################################################
@click.command(name='status', short_help='Show status of provisioner job.')
@click.argument(
'job'
'job', required=False, default=None
)
def provisioner_status(job):
"""
Show status of provisioner job JOB.
Show status of provisioner job JOB or a list of jobs.
"""
retcode, retdata = pvc_provisioner.task_status(config, job)
cleanup(retcode, retdata)