Could you elaborate what you have in mind? I think it's pretty common to check the version of the tool, e.g., https://github.com/Homebrew/homebrew/blob/master/Library/Formula/docker.rb#L32