Skip to content

Instantly share code, notes, and snippets.

@proudcommerce
Last active July 12, 2023 20:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save proudcommerce/ae6e25dbefd204d7927fbf69682c2ae8 to your computer and use it in GitHub Desktop.
Save proudcommerce/ae6e25dbefd204d7927fbf69682c2ae8 to your computer and use it in GitHub Desktop.
oe:module:install-configuration for all modules in source/modules/ folder
#!/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