oh-my-zsh/plugins/drush/README.md
2015-10-14 20:32:41 -03:00

32 lines
1.1 KiB
Markdown

# Drush plugin #
## Description ##
This plugin offers aliases and functions to make the work with drush easier and more productive.
## How to use ##
```
# Aliases, sorted alphabetically.
drcb #Clear block cache.
drca #Clear all drupal caches.
drcg #Clear registry cache.
drcj #Clear css-js cache.
drcm #Clear menu cache.
drcml #Clear module-list cache.
drcr #Run all cron hooks in all active modules for specified site.
drct #Clear theme-registry cache.
drcv #Clear views cache.
drpm #Show a list of available modules.
drst #Provides a birds-eye view of the current Drupal installation, if any.
drup #Apply any database updates required (as with running update.php).
drups #List any pending database updates.
drv #Show drush version.
drif #Flush all derived images.
```
```
# Functions, sorted alphabetically.
dren #Download and enable one or more extensions (modules or themes).
drpu #Uninstall one or more modules.
dris #Disable one or more extensions (modules or themes).
drf #Edit drushrc, site alias, and Drupal settings.php files. Can be called with a parameter e.g.: drf 2
```