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