Thanks for bringing this to my attention, mas-cli looks really useful! I already try to install non App Store software via homebrew when possible and adding the Mac App Store to the shell script will make life that much easier.
Another tool to manage Homebrew installs is Cork. It is now 25€ for a precompiled version (it has been both more and less expensive in the past) or free if you compile it yourself.
For packages like Logitech Options+, which are big and clunky and come with their own separate uninstallers residing in Launchpad, does this advice still hold? Does Homebrew intelligently (or due to the devs hardcoding it in) launch the uninstaller instead of uninstalling the usual way?
I make use of homebrew regularly to install later or GNU versions of UNIX tools that are old or too BSDish on macOS. For example I much prefer the GNU version of sed to the version that ships as a standard component of macOS. Updating a tool such as sqlite3 (the command line shell) to the latest release with recent bug fixes is essential for work on a canvassing database for a local political party.
My one major gripe with homebrew is that some homebrew programs are added to /opt/homebrew/opt/bin (via a link) and be be used as an immediate alternative or from new such as algol68g because that folder is in PATH but others, including sqlite3, are not but require explict changes to PATH.