Drush aka Drupal Shell - Drupal administracija u malom prstu!

DRUSHdrush je command line shell za administraciju Drupala. Tool koji svaki ozbiljniji Drupal korisnik mora imati na dohvat ruke. Potrebno je napomenuti da vam za korištenje drush-a treba mogućnost da iz komandne linije pokrećete PHP skripte, samim time drush možda i neće toliko biti koristan korisnicima koji administraciju svog sitea mogu obavljati samo FTP klijentom.

Od najzanimljivijih funkcija izdvojio bi Drush Package Manager koji omogućava download, instalaciju, omogućavanje, ažuriranje modula/tema/profila/prijevoda iz komande linije koristeći jednostavne komande. Zaboravite skidanje arhive, odpakiravanje i ručnu aktivaciju modula kroz Drupal sučelje jer cijeli postupak možete napraviti sa dvije komande. Za primjer uzmimo Views modul. Izvršavanjem seta komandi:

drush dl views 
drush enable views

skinuli ste i instalirati Views modul te je on spreman za korištenje. Osim upravitelja paketa drush posjeduje i mogućnosti upravljanja cache-om, cron-om, bazom itd. Pogledajte set osnovnih komandi:

 updatedb              Execute the update.php process from the command line
 status                Provides a birds-eye view of the current Drupal installation, if any.
 script                Run php script(s).
 cache clear           Clear all caches.
 watchdog show         Shows recent watchdog log messages. Optionally filter for a specific type.
 watchdog delete       Delete all messages or only those of a specified type.
 sync                  Rsync the Drupal tree to/from another server using ssh.
 eval                  Evaluate arbitrary php code after bootstrapping Drupal.
 enable                Enable one or more modules.
 disable               Disable one or more modules.
 uninstall             Uninstall one or more modules.
 statusmodules         Show module enabled/disabled status
 refresh               Refresh update status information
 updatecode            Update your project code
 update                Update your project code and apply any database updates required (update.php)
 info                  Release information for a project
 dl                    Download core Drupal and projects like CCK, Zen, etc.
 test mail             Run all tests and mail the results to your team.
 test clean            Delete leftover tables and files from prior test runs.
 sql conf              Print database connection details.
 sql connect           A string for connecting to the DB.
 sql dump              Exports the Drupal DB as SQL using mysqldump.
 sql query             Execute a query against the site database.
 sql load              Copy source database to target database.
 sql cli               Open a SQL command-line interface using Drupal’s credentials.

Pogledajte screencast instalacija drusha i dl i info komanda.

Moćno, nema što.