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