From 269ff7dcd76100f8c43332ee2d11b39f89b3da05 Mon Sep 17 00:00:00 2001 From: Hugo Date: Tue, 10 Mar 2015 14:18:12 +0200 Subject: [PATCH] The CL shell and scripting interface for Drupal https://github.com/drush-ops/drush --- pages/common/drush.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pages/common/drush.md diff --git a/pages/common/drush.md b/pages/common/drush.md new file mode 100644 index 0000000000..e027d0f72f --- /dev/null +++ b/pages/common/drush.md @@ -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` +