mas-cli
Mac App Store command line interface
... search which will search the Mac App Store and return matching identifiers. Include the --price flag to include prices in the result. mas is integrated with homebrew-bundle. 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.