Last active
July 12, 2023 20:54
-
-
Save proudcommerce/ae6e25dbefd204d7927fbf69682c2ae8 to your computer and use it in GitHub Desktop.
oe:module:install-configuration for all modules in source/modules/ folder
This file contains hidden or 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 | |
pluginDirs=() | |
for dir in $(find source/modules/ -type d); do | |
if [[ -f "${dir}/metadata.php" ]]; then | |
pluginDirs+=("${dir}") | |
fi | |
done | |
for dir in "${pluginDirs[@]}"; do | |
echo "${dir}" | |
vendor/bin/oe-console oe:module:install-configuration ${dir} | |
done | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment