Chi-teck / drupal-project-loader

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Drupal project loader

Downloads the entire codebase for all Drupal projects.

Installation

npm install -g drupal-project-loader

Usage

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

Running in docker

docker run --rm -v $(pwd):/data -it attr/drupal-project-loader

License

GNU General Public License, version 2.

About


Languages

Language:JavaScript 98.9%Language:Dockerfile 1.1%