Files

Contains filters are case sensitive
File name Location Namespacesort ascending Description
batch.inc commands/core/drupal/batch.inc Drupal 7 engine for the Batch API
image_7.inc commands/core/drupal/image_7.inc Specific functions for a Drupal image handling. drush_include_engine() magically includes either this file or image_X.inc depending on which version of Drupal is in use.
cache.inc commands/core/drupal/cache.inc Engine for the cache commands.
update_7.inc commands/core/drupal/update_7.inc Update.php for provisioned sites. This file is a derivative of the standard drupal update.php, which has been modified to allow being run from the command line.
unish.sh unish.sh # Run Unish, the test suite for Drush. vendor/bin/phpunit --configuration tests $@
table.html commands/core/outputformat/topics/table.html
drush.info drush.info drush_version=8.0-dev
drush.api.php drush.api.php Documentation of the Drush API.
drush.complete.sh drush.complete.sh # BASH completion script for Drush. # # Place this in your /etc/bash_completion.d/ directory or source it from your # ~/.bash_completion or ~/.bash_profile files. Alternatively, source # examples/example.bashrc instead, as it will automatically find…
drush.php drush.php drush is a PHP script implementing a command line shell for Drupal.
druplicon-no_color.txt misc/druplicon-no_color.txt .,. .cd:.. .xXd,,'.. …
druplicon-color.txt misc/druplicon-color.txt                          …
bootstrap.inc tests/bootstrap.inc Initialize a sandboxed environment. Starts with call unish_init() at bottom.
COVERAGE.txt tests/COVERAGE.txt COMMANDS ------------ pm-download: GOOD. need test for `pm-download --select` (hard to test; depends on state of project releases on d.o.) pm-updatecode: GOOD. pm-update: FAIR. Implicitly tested by pm-updatecode but updatedb not yet…
completetest.drush.inc tests/completetest.drush.inc Commands and options for complete unit tests, to avoid relying on the ever-changing core command set.
unit.drush.inc tests/unit.drush.inc Commands which are useful for unit tests.
completetestsite.drush.inc tests/completetestsite.drush.inc
testChildren.sh tests/testChildren.sh # See https://github.com/drush-ops/drush/pull/1426 for background information. # # $AUTH_TOKEN is provided via a secure Travis environment variable. # Secure environment variables are not set for pull requests that # originated from another…
xh.drush.inc commands/xh.drush.inc
example.aliases.drushrc.php examples/example.aliases.drushrc.php Example of valid statements for an alias file.
sandwich.drush.inc examples/sandwich.drush.inc Example drush command.
example.drushrc.php examples/example.drushrc.php Examples of valid statements for a Drush runtime config (drushrc) file.
sandwich-nocolor.txt examples/sandwich-nocolor.txt
policy.drush.inc examples/policy.drush.inc Example policy commandfile. Modify as desired.
sync_via_http.drush.inc examples/sync_via_http.drush.inc Example "Sync via HTTP" sql-sync command alter.
sync_enable.drush.inc examples/sync_enable.drush.inc Example "Sync enable" sql-sync command alter.
git-bisect.example.sh examples/git-bisect.example.sh #!/usr/bin/env sh # # Git bisect is a helpful way to discover which commit an error # occurred in. This example file gives simple instructions for # using git bisect with Drush to quickly find erroneous commits # in Drush commands or Drupal modules,…
sandwich-topic.txt examples/sandwich-topic.txt I have discovered a truly marvelous proof that it is impossible to separate a sandwich into two cubes, or four sandwiches into two fourth of a sandwich, or in general, any sandwich larger than the second into two like sandwiches. This text file is…
example.prompt.sh examples/example.prompt.sh # -*- mode: shell-script; mode: flyspell-prog; ispell-local-dictionary: "american" -*- # # Example PS1 prompt. # # Use `drush init` to copy this to ~/.drush/drush.prompt.sh, and source it in ~/.bashrc # # Features: # # Displays Git…
sandwich.txt examples/sandwich.txt  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  . . . . . . . . . . .:8…
pm_update.drush.inc examples/pm_update.drush.inc
xkcd.drush.inc examples/xkcd.drush.inc Example XKCD Drush command.
bootstrap.inc includes/bootstrap.inc
drupal.inc includes/drupal.inc Utility functions related to Drupal.
command.inc includes/command.inc The drush command engine.
preflight.inc includes/preflight.inc Preflight, postflight and shutdown code.
drush.inc includes/drush.inc The drush API implementation and helpers.
backend.inc includes/backend.inc Drush backend API
sitealias.inc includes/sitealias.inc The site alias API.
dbtng.inc includes/dbtng.inc Wrappers to abstract database operations from Drupal version.
filesystem.inc includes/filesystem.inc Filesystem utilities.
startup.inc includes/startup.inc Functions used when Drush is starting up.
complete.inc includes/complete.inc Provide completion output for shells.
environment.inc includes/environment.inc Functions used by drush to query the environment and setting the current configuration.
engines.inc includes/engines.inc The drush engines API implementation and helpers.
batch.inc includes/batch.inc Drush batch API.
context.inc includes/context.inc The Drush context API implementation.
exec.inc includes/exec.inc Functions for executing system commands. (e.g. exec(), system(), ...).
cache.inc includes/cache.inc Drush cache API
output.inc includes/output.inc

Pages