drupal-project-loader

1.1.1 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i drupal-project-loader

Weekly Downloads

0

Version

1.1.1

License

GPL-2.0

Unpacked Size

15.9 kB

Total Files

14

Last publish

Collaborators

  • chi-teck