Drush now has variable get, set and delete

Events happening in the community are now at Drupal community events on www.drupal.org.
jody lynn's picture

Drush has new commands now to manage variables.

Chris, can you add them to the drush commands page?

"Drush vget user" will give you a list of all variable names beginning with 'user' and their values. Useful to see all variable settings for a specific module, or figure out a variable's name.

"Drush vset prep 0" will let you choose from the variables beginning with 'prep' and set one to 0. Useful to quickly change simple variables, for example to disable css preprocessing.

drush

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: