refactoring
add logging and command related globals in myrepo.globals
dynamically construct usage text w/ utilizing some globals in myrepo.globals