function upgrade --wraps=topgrade bwunlock {{- if get . "sudo" }} sudo ls >/dev/null {{- end }} topgrade $argv end