def create(ctx, job_definition): """ Create a new job definition. """ mgr = BatchManager(yml=ctx.obj['CONFIG']) mgr.create_job_definition(job_definition)
def create(ctx, job_definition): """ Create a new job definition. """ mgr = BatchManager(filename=ctx.obj['CONFIG_FILE']) mgr.create_job_definition(job_definition)