Experimental project

This is a sandbox project, which contains experimental code for developer use only.

This script is purely to manage my own development environment and I am fully aware of drush; but for me this just seems to fit my needs a lot better. I'm adding the project to drupal.org incase there are other people that could benefit from a similar set-up.

This is a bash script for managing Drupal sites that utilise a central repository of modules and themes. Here are a few example commands:

drupal init -v 7.x -s 7.10
drupal init -v 7.x -s 7.10 -d db_name -u db_user
drupal init -v 7.x -s 7.10 -c -d db_name -u db_user
drupal enmod token
drupal dismod token
drupal entheme tao
drupal distheme tao
drupal rebuild

The central repository, configured at the start of the script, should be as follows:

- 7.x
   - core
     - 7.x
     - 7.10
  - modules
    - ctools
    - token
    - etc
  - themes
    - tao
    - rubik
    - etc

- 8.x
  - core
    - 8.x
  - modules
  - themes

Project information