def jobs(ctx): """Lists harvest jobs. """ flask_app = ctx.meta["flask_app"] with flask_app.test_request_context(): result = utils.list_jobs() click.echo(result)
def list_harvest_jobs(self): print(utils.list_jobs())