Hi,

we'd like to extend Drush, especially enable it to put a Drupal site into maintenance mode or change modes inside a shell script.

Where would be the place to add something like this (separate add-on module, contributed sub-"module" for Drush...)?

Thanks & greetings, -asb

Comments

moshe weitzman’s picture

Status: Active » Fixed

The modes change would be a new modes.drush.inc that ships with modes module itself. There is already a feature request for the variable set feature whch is how you would do maintenance mode. Until then, you may use the eval command to run 'variable_set('maintenance_mode', 1)' or somesuch.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.