Honestly, it seems hard to argue against elevating only the parts that need it, minimal exposure and all that. Plus sudoing the whole script exposes the shell too, not just all the programs the shell calls. On the other hand interactive use where your shell is underprivileged for the task and you need to sudo everything is a pain. Not because of the typing but because tab completion of filenames doesn't work