"Adopt" to Homebrew

I recently discovered this really cool feature that Homebrew has. You can adopt applications that you obtained from other sources to Homebrew if they have casks available.

You can do this with the --adopt option.

So for example, something like Calibre that does not have an auto-updating mechanism built into the app and always requires a web download followed by a manual installation, can be “adopted” to be managed by Homebrew with the below command:

brew install --cask --adopt calibre

Then every subsequent update to the adopted app will be handled by brew.