Merge pull request #268 from hugovk/master
The CL shell and scripting interface for Drupal
This commit is contained in:
28
pages/common/drush.md
Normal file
28
pages/common/drush.md
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
# drush
|
||||||
|
|
||||||
|
> A command-line shell and scripting interface for Drupal.
|
||||||
|
|
||||||
|
- Download module "foo"
|
||||||
|
|
||||||
|
`drush dl {{foo}}`
|
||||||
|
|
||||||
|
- Download version 7.x-2.1-beta1 of module "foo"
|
||||||
|
|
||||||
|
`drush dl {{foo}}-7.x-2.1-beta1`
|
||||||
|
|
||||||
|
- Enable module "foo"
|
||||||
|
|
||||||
|
`drush en {{foo}}`
|
||||||
|
|
||||||
|
- Disable module "foo"
|
||||||
|
|
||||||
|
`drush dis {{foo}}`
|
||||||
|
|
||||||
|
- Clear all caches
|
||||||
|
|
||||||
|
`drush cc all`
|
||||||
|
|
||||||
|
- Clear CSS and JavaScript caches
|
||||||
|
|
||||||
|
`drush cc css-js`
|
||||||
|
|
Reference in New Issue
Block a user