tldr/pages/common/drush.md

29 lines
426 B
Markdown
Raw Normal View History

# drush
> A command-line shell and scripting interface for Drupal.
2019-06-08 01:04:00 +01:00
> More information: <https://www.drush.org>.
- 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`