adding on-completion functionality to 'tbgit spec'