Last active
January 11, 2021 11:27
-
-
Save tdgroot/8807a4b57e519f54509b60d0cc297774 to your computer and use it in GitHub Desktop.
Disable unused Magento 2 modules
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
bin/magento module:status | \ | |
grep -E '(Magento_(Adobe|Inventory|Braintree|Signifyd|Fedex|Marketplace|Authorizenet.*|.*GraphQl.*|.*Analytics)|Temando_|Amazon_|Dotdigitalgroup_|Vertex_|Klarna_)' | \ | |
grep -v Magento_GoogleAnalytics | \ | |
xargs bin/magento module:disable | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment