devscript: line-terminations, continuations
devscript: full path to pwd
devscript: avoid pattern match syntax

use strict string equality
devscript: all large scripts use die/warn idiom
devscript: error msg consistency
devscript: quote/expansion nit

for clarity. I think this is special-cased anyway
devscript: factor list_apps_in_pkg into functions

no functional change
devscript: add optional src to list_apps_in_pkg
devscript: refactor list_ids_in_pkg into functions
devscript: hoist $tmpdir

to make clear it is shared between functions
devscript: comments
devscript: rename func to match script name
devscript: hoist configurable global variables
devscript: factor out not_inside_homebrew

sanity check
devscript: re-order params for least surprise
devscript: move feedback msgs inside functions
devscript: docs
devscript: improve warn_if_off_branch
devscript: improve verify_git_object
devscript: clarify $1 in main func