def job_all(ctx): """Create new harvest jobs for all active sources. """ flask_app = ctx.meta["flask_app"] with flask_app.test_request_context(): result = utils.job_all() click.echo(result)
def create_harvest_job_all(self): print(utils.job_all())