https://github.com/chi-teck/drupal-project-loader
https://github.com/chi-teck/drupal-project-loader
drupal
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/chi-teck/drupal-project-loader
- Owner: Chi-teck
- Created: 2016-05-15T18:27:44.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-07-28T17:09:56.000Z (about 7 years ago)
- Last Synced: 2024-10-18T05:21:05.628Z (12 months ago)
- Topics: drupal
- Language: JavaScript
- Size: 29.3 KB
- Stars: 13
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Drupal project loader
Downloads the entire codebase for all Drupal projects.
## Installation
```bash
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:
```bash
drupal-project-loader --branch=7.x --type=theme --destination=/tmp/d7-themes --extract=0 --yes
```
## Running in docker
```bash
docker run --rm -v $(pwd):/data -it attr/drupal-project-loader
```## License
GNU General Public License, version 2.