Example #1
0
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)
Example #2
0
 def list_harvest_jobs(self):
     print(utils.list_jobs())