Added README.md with aliases and functions usage

This commit is contained in:
Lucas A. Rodrigues 2015-10-14 20:32:41 -03:00
parent 3ec3e7ca6f
commit 5ec9ec7855

31
plugins/drush/README.md Normal file
View File

@ -0,0 +1,31 @@
# 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
```