From b010a3436f16fcd965a5a4664e755386d98605a4 Mon Sep 17 00:00:00 2001 From: Vishalghyv Date: Tue, 6 Oct 2020 17:50:28 +0530 Subject: [PATCH] Read me link and alignment of commands --- README.md | 1 + tools/drush.sh | 48 ++++++++++++++++++++++++------------------------ 2 files changed, 25 insertions(+), 24 deletions(-) diff --git a/README.md b/README.md index d629e9c..a6df24b 100644 --- a/README.md +++ b/README.md @@ -98,6 +98,7 @@ Feel free to take a look. You might learn new things. They have been designed to #### Development - [cURL](tools/curl.sh) +- [Drush](tools/drush.sh) - [Elasticsearch](tools/elasticsearch.js) - [Emmet](tools/emmet.md) - [Git](tools/git.sh) diff --git a/tools/drush.sh b/tools/drush.sh index 35e674d..2bf8c07 100644 --- a/tools/drush.sh +++ b/tools/drush.sh @@ -7,60 +7,60 @@ cache clear (cc) # Clear all caches. -cron # Run all cron hooks. +cron # Run all cron hooks. -disable (dis) # Disable one or more modules. +disable (dis) # Disable one or more modules. -download (dl) # Download core Drupal and projects like CCK, Zen, etc. +download (dl) # Download core Drupal and projects like CCK, Zen, etc. -enable (en) # Enable one or more modules. +enable (en) # Enable one or more modules. -eval # Evaluate arbitrary php code after bootstrapping Drupal. +eval # Evaluate arbitrary php code after bootstrapping Drupal. -help # Print this help message. Use --filter to limit command list to one command file (e.g. --filter=pm) +help # Print this help message. Use --filter to limit command list to one command file (e.g. --filter=pm) -info # Release information for a project +info # Release information for a project installcore (ic) # Install Drupal core via the specified install profile. Note that updating core with Drush is not yet available. See http://drupal.org/node/434944. -refresh (rf) # Refresh update status information script Runs the given php script(s) after a full Drupal bootstrap. NOTE: you can't supply absolute paths to the script e.g. ~/Desktop/script.php won't work Desktop/script.php will +refresh (rf) # Refresh update status information script Runs the given php script(s) after a full Drupal bootstrap. NOTE: you can't supply absolute paths to the script e.g. ~/Desktop/script.php won't work Desktop/script.php will sql cli (sqlc) # Open a SQL command-line interface using Drupal?s credentials. -sql conf # Print database connection details. +sql conf # Print database connection details. -sql connect # A string for connecting to the DB. +sql connect # A string for connecting to the DB. -sql dump # Exports the Drupal DB as SQL using mysqldump. +sql dump # Exports the Drupal DB as SQL using mysqldump. -sql load # Copy source database to target database. +sql load # Copy source database to target database. sql query (sqlq) # Execute a query against the site database. -status (st) # Provides a birds-eye view of the current Drupal installation, if any. +status (st) # Provides a birds-eye view of the current Drupal installation, if any. -statusmodules (sm) # Show module enabled/disabled status +statusmodules (sm) # Show module enabled/disabled status -sync # Rsync the Drupal tree to/from another server using ssh. +sync # Rsync the Drupal tree to/from another server using ssh. -test clean # Delete leftover tables and files from prior test runs. +test clean # Delete leftover tables and files from prior test runs. -test mail # Run all tests and mail the results to your team. +test mail # Run all tests and mail the results to your team. -uninstall # Uninstall one or more modules. +uninstall # Uninstall one or more modules. -update (up) # Update your project code and apply any database updates required (update.php) +update (up) # Update your project code and apply any database updates required (update.php) updatecode (upc) # Update your project code. Moves existing project files to the backup directory specified in the config. updatedb (updb) # Execute the update.php process from the command line. -variable delete (vdel) # Delete a variable. +variable delete (vdel) # Delete a variable. -variable get (vget) # Get a list of some or all site variables and values. +variable get (vget) # Get a list of some or all site variables and values. -variable set (vset) # Set a variable. +variable set (vset) # Set a variable. -watchdog delete (wd) # Delete all messages or only those of a specified type. +watchdog delete (wd) # Delete all messages or only those of a specified type. -watchdog show (ws) # Shows recent watchdog log messages. Optionally filter for a specific type. +watchdog show (ws) # Shows recent watchdog log messages. Optionally filter for a specific type.