More »
Loading...

Archive

  • archive-dump (ard)(arb)
  • Backup code, files and DB into single file
  • archive-restore (arr)
  • Expand site archive into Drupal website

Cache

  • cache-clear (cc)
  • Clear Drupal caches
  • cache-get (cg)
  • Fetch cached object
  • cache-rebuild (cr)
  • Rebuild Drupal 8 site and clear all its caches
  • cache-set (cs)
  • Cache JSON object

Core

  • core-cli (php)
  • Open interactive PHP shell
  • core-config (conf)
  • Edit drushrc and settings.php
  • core-cron (cron)
  • Run all cron hooks
  • core-execute (exec)
  • Execute shell command
  • core-quick-drupal (qd)
  • Create minimal Drupal site
  • core-requirements (rq)
  • Inspect Drupal installation
  • core-rsync (rsync)
  • Rsync Drupal files with server
  • core-status (st)
  • Print site status report
  • drupal-directory (dd)
  • Print path to module/theme
  • help
  • Print drush cheat sheet
  • php-eval (ev)(eval)
  • Evaluate PHP after bootstrap
  • php-script (scr)
  • Run PHP scripts
  • updatedb (updb)
  • Apply required DB updates
  • updatedb-status (updbst)
  • List any pending DB updates
  • version
  • Show drush version

Field

  • field-clone
  • Clone field and all its instances
  • field-create
  • Create fields and instances
  • field-delete
  • Delete a field and instances
  • field-info
  • View information about fields
  • field-update
  • Return URL for field editing

Make

  • make
  • Create Drupal codebase from a makefile
  • make-generate
  • Generate makefile from current Drupal site

Project management

  • pm-disable (dis)
  • Disable one or more extensions
  • pm-download (dl)
  • Download modules or themes
  • pm-enable (en)
  • Enable one or more extensions
  • pm-info (pmi)
  • Show extension(s) info
  • pm-list (pml)
  • Show available extensions
  • pm-refresh (rf)
  • Refresh update status info
  • pm-releasenotes (rln)
  • Print project release notes
  • pm-releases (rl)
  • Print project release information
  • pm-uninstall (pmu)
  • Uninstall one or more modules
  • pm-update (up)
  • Same as pm-updatecode +
    updatedb
  • pm-updatecode (upc)
  • Update Drupal core and contrib projects to latest recommended release
  • pm-updatestatus (ups)
  • Show list of available updates

Role

  • role-add-perm (rap)
  • Grant a permission to a role
  • role-create (rcrt)
  • Create new role
  • role-delete (rdel)
  • Delete a role
  • role-list (rls)
  • Display all defined roles
  • role-remove-perm (rmp)
  • Remove permission from a role

Search

  • search-index
  • Index remaining search items
  • search-reindex
  • Force search index to be rebuilt
  • search-status
  • Show how many items pending to be indexed

Sitealias

  • shell-alias (sha)
  • Print all known shell aliases
  • site-alias (sa)
  • Print known site aliases
  • site-set (use)
  • Set site alias for the session

Sql

  • sql-cli (sqlc)
  • Open SQL client using Drupal's credentials
  • sql-connect
  • String for connecting to the DB
  • sql-create
  • Create a database
  • sql-drop
  • Drop all tables in database
  • sql-dump
  • Exports Drupal DB as SQL
  • sql-query (sqlq)
  • Execute a query against the DB
  • sql-sanitize (sqlsan)
  • Run sanitization operations
  • sql-sync
  • Copy and import source DB
    to target DB via rsync

User

  • user-add-role (urol)
  • Add role to specified user(s)
  • user-block (ublk)
  • Block specified user(s)
  • user-cancel (ucan)
  • Cancel user account
  • user-create (ucrt)
  • Create user account
  • user-information (uinf)
  • Print info about specified user
  • user-login (uli)
  • Display one-time login link
  • user-password (upwd)
  • Set password for specified user
  • user-remove-role (urrol)
  • Remove role from user account
  • user-unblock (uublk)
  • Unblock specified user(s)

Variable

  • variable-delete (vdel)
  • Delete a variable
  • variable-get (vget)
  • Get site variables and values
  • variable-set (vset)
  • Set a variable

Watchdog

  • watchdog-delete (wd-del)
  • Delete watchdog messages
  • watchdog-list (wd-list)
  • Show message types and severity levels
  • watchdog-show (ws)
  • Show watchdog messages