示例#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)