mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-02 07:18:29 +01:00
28 lines
375 B
Markdown
28 lines
375 B
Markdown
|
# 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`
|