cmd/reinstall: refactor
cmd/reinstall: refactor

sjackman/homebrew,MikeMcQuaid/brew,sjackman/homebrew,nandub/brew,JCount/brew,sjackman/homebrew,vitorgalvao/brew,claui/brew,EricFromCanada/brew,nandub/brew,vitorgalvao/brew,claui/brew,claui/brew,Homebrew/brew,nandub/brew,EricFromCanada/brew,MikeMcQuaid/brew,vitorgalvao/brew,EricFromCanada/brew,JCount/brew,MikeMcQuaid/brew,claui/brew,Homebrew/brew,JCount/brew,Homebrew/brew,MikeMcQuaid/brew,sjackman/homebrew,vitorgalvao/brew,nandub/brew,Homebrew/brew,EricFromCanada/brew,JCount/brew