def update(ctx, queue): """ Update an existing queue. """ mgr = BatchManager(yml=ctx.obj['CONFIG']) mgr.update_queue(queue)
def update(ctx, queue): """ Update an existing queue. """ mgr = BatchManager(filename=ctx.obj['CONFIG_FILE']) mgr.update_queue(queue)