Downloads the entire codebase for all Drupal projects.
npm install -g drupal-project-loader
Options:
Long | Short | Default value | Description |
---|---|---|---|
branch | b | 8.x | Drupal API branch (6.x, 7.x, 8.x, etc). |
type | t | module | Filter project by type (module, theme, distribution, etc). Pass "any" to load all project types. |
destination | d | ./drupal-codebase/[branch] | Path to which the projects will be copied. |
extract | e | true | Whether or not the files should be extracted (uncompressed). |
concurrency | c | 15 | Number of multiple requests to perform at a time. |
yes | y | false | Assume "yes" as answer to all prompts. |
log-level | l | warn | Loging level. |
version | v | false | Output the version number. |
timeout | m | 15000 | The number of milliseconds to wait for a server to send response headers. |
Example:
drupal-project-loader --branch=7.x --type=theme --destination=/tmp/d7-themes --extract=0 --yes
docker run --rm -v $(pwd):/data -it attr/drupal-project-loader
GNU General Public License, version 2.