cli
cli copied to clipboard
Ship default extensions via Homebrew
Installing the Phylum CLI with Homebrew should install the default extensions.
The Formula Cookbook talks about how Ruby gems installs to a custom directory when installed with Homebrew.
Something similar in the Phylum CLI would be configuring the extension directory at compile time and using something like $HOMEBREW_PREFIX/var/lib/phylum/extensions.
After further thought, moving the directory does not help. We still need to populate it and update the contents with each new release.
This is further complicated by Homebrew allowing multiple versions of the same tool to be installed at the same time.