Closed (fixed)
Project:
Drush
Component:
Interoperability
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
4 Jun 2009 at 12:03 UTC
Updated:
18 Jun 2009 at 12:20 UTC
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
Comment #1
moshe weitzman commentedThe 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.