2015-03-10 15:18:12 +03:00
|
|
|
# drush
|
|
|
|
|
|
|
|
> A command-line shell and scripting interface for Drupal.
|
2019-06-08 03:04:00 +03:00
|
|
|
> More information: <https://www.drush.org>.
|
2015-03-10 15:18:12 +03:00
|
|
|
|
2016-01-07 20:31:27 +03:00
|
|
|
- Download module "foo":
|
2015-03-10 15:18:12 +03:00
|
|
|
|
|
|
|
`drush dl {{foo}}`
|
|
|
|
|
2016-01-07 20:31:27 +03:00
|
|
|
- Download version 7.x-2.1-beta1 of module "foo":
|
2015-03-10 15:18:12 +03:00
|
|
|
|
|
|
|
`drush dl {{foo}}-7.x-2.1-beta1`
|
|
|
|
|
2016-01-07 20:31:27 +03:00
|
|
|
- Enable module "foo":
|
2015-03-10 15:18:12 +03:00
|
|
|
|
|
|
|
`drush en {{foo}}`
|
|
|
|
|
2016-01-07 20:31:27 +03:00
|
|
|
- Disable module "foo":
|
2015-03-10 15:18:12 +03:00
|
|
|
|
|
|
|
`drush dis {{foo}}`
|
|
|
|
|
2016-01-07 20:31:27 +03:00
|
|
|
- Clear all caches:
|
2015-03-10 15:18:12 +03:00
|
|
|
|
|
|
|
`drush cc all`
|
|
|
|
|
2016-01-07 20:31:27 +03:00
|
|
|
- Clear CSS and JavaScript caches:
|
2015-03-10 15:18:12 +03:00
|
|
|
|
|
|
|
`drush cc css-js`
|