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