mas-cli
Mac App Store command line interface
...If mas is installed, and you run brew bundle dump, then your Mac App Store apps will be included in the Brewfile created. See the homebrew-bundle docs for more details. mas operates via the same system services as the Mac App Store.