HomeServiceContact
Drupal
min read
November 8, 2019
July 20, 2011

Drush - drupal productivity messiah

Drush - drupal productivity messiah
Table of contents

Drush is a shell and command line interface for drupal where in you can do 90% of the routine tasks quicker; whether you are maintaining or developing a site. Drush is such an indispensable tool that you can really break down your developer experience in two ages: BD (before Drush) and AD (After Drush). If you were lured by a module in BD age, the drill was something like:

  1. Find the module project page.
  2. Choose the correct module version number.
  3. Download or checkout (CVS) the correct module version.
  4. Place the module directory into your sites/all/modules (or wherever).
  5. Locate the module amidst the long list at admin/build/modules page.
  6. Choose the module and install it.

This experience often made me feel like a click zombie and my development environment and methodologies as a den of time suckage. Really there are more sadistic drills in the drupal verse when you talk about BD. Then came drush, messiah for the click zombies who wanted to mend and do more and they did find happily ever after. The above drill is achieved in 2 steps in AD:

  1. drush dl <module name> ( It will find the correct stable version depending on your site configuration and drupal version or you could specify version num for advance usage. Neat? )
  2. drush en <module name>  ( Would prompt you to enable dependencies if any)

All this at the coziness of your terminal, above is one scenario among many time sucking and boring routines. Drush can do much more, it can empty your cache, it can update your site from command line, it can do releases and hundred other things. So much thanks to ArtoMoshe WeitzmanOwen BartonAdrian Rossouwgreg.1.anderson and other drush contributors for making drush and liberating thousands of click zombies whose life otherwise would have been a lot less productive. 

Written by
Editor
No art workers.
We'd love to talk about your business objectives