Functions

Contains filters are case sensitive
Namesort descending Location Description
drush_pm_updatecode_postupdate commands/pm/pm.drush.inc Command callback. Execute updatecode-postupdate.
drush_pm_updatecode_rollback commands/pm/updatecode.pm.inc
drush_pm_updatecode_validate commands/pm/pm.drush.inc Validate callback for updatecode command. Abort if 'backup' directory exists.
drush_pm_update_lock commands/pm/pm.drush.inc Update the locked status of all of the candidate projects to be updated.
drush_policy_make_me_a_sandwich_validate examples/policy.drush.inc Implementation of drush_hook_COMMAND_validate().
drush_policy_sql_sync_validate examples/policy.drush.inc Implement of drush_hook_COMMAND_validate().
drush_policy_updatedb_validate examples/policy.drush.inc Implement of drush_hook_COMMAND_validate().
drush_preflight_backup_dir includes/drush.inc Decide where our backup directory should go
drush_prepare_backup_dir includes/drush.inc Prepare a backup directory
drush_print_file includes/drush.inc Print the contents of a file.
drush_print_help includes/drush.inc Print the help for a single command to the screen.
drush_print_pipe includes/drush.inc Stores a message which is printed during drush_shutdown() if in compact mode.
drush_print_r includes/drush.inc Prints an array or string.
drush_print_table includes/drush.inc Print a formatted table.
drush_print_timers includes/drush.inc
drush_process_bootstrap_to_first_arg includes/command.inc Process the --bootstrap-to-first-arg option, if it is present.
drush_prompt includes/drush.inc Prompt the user for input
drush_read_drush_info includes/environment.inc Read the drush info file.
drush_redispatch_get_options includes/command.inc Get the options that were passed to the current command.
drush_register_file_for_deletion includes/drush.inc Any file passed in to this function will be deleted when drush exits.
drush_remote_command includes/drush.inc Process commands that are executed on a remote drush instance.
drush_return_status ./drush.php
drush_sandwich_make_me_a_sandwich examples/sandwich.drush.inc Example drush command callback. This is where the action takes place.
drush_sandwich_make_me_a_sandwich_validate examples/sandwich.drush.inc Implementation of drush_hook_COMMAND_validate().
drush_save_config includes/context.inc Save the settings in a specific context to the applicable configuration file This is useful is you want certain settings to be available automatically the next time a command is executed.
drush_save_data_to_temp_file includes/drush.inc Save a string to a temporary file. Does not depend on Drupal's API. The temporary file will be automatically deleted when drush exits.
drush_scan_directory includes/command.inc Finds all files that match a given mask in a given directory. Directories and files beginning with a period are excluded; this prevents hidden files and directories (such as SVN working directories and GIT repositories) from being scanned.
drush_server_home includes/environment.inc Return the user's home directory.
drush_set_arguments includes/context.inc Set the arguments passed to the drush.php script.
drush_set_command includes/context.inc Set the command being executed.
drush_set_config_options includes/context.inc
drush_set_config_special_contexts includes/context.inc There are certain options such as 'site-aliases' and 'command-specific' that must be merged together if defined in multiple drush configuration files. If we did not do this merge, then the last configuration file that defined any…
drush_set_context includes/context.inc Set a specific context.
drush_set_default includes/context.inc A small helper function to set the value in the default context
drush_set_error includes/drush.inc Set an error code for the error handling system.
drush_set_option includes/context.inc Set an option in one of the option contexts.
drush_shell_cd_and_exec includes/drush.inc Executes a shell command at a new working directory. The old cwd is restored on exit.
drush_shell_exec includes/drush.inc Executes a shell command. Output is only printed if in verbose mode. Output is stored and can be retrieved using drush_shell_exec_output(). If in simulation mode, no action is taken.
drush_shell_exec_interactive includes/drush.inc Executes a command in interactive mode.
drush_shell_exec_output includes/drush.inc Returns the output of the most recent shell command as an array of lines.
drush_shift includes/command.inc Pop an argument off of drush's argument list
drush_show_help includes/drush.inc Prints out help for a given command.
drush_shutdown ./drush.php Shutdown function for use while Drupal is bootstrapping and to return any registered errors.
drush_sitealias_add_db_settings includes/sitealias.inc If the alias record does not contain a 'databases' or 'db-url' entry, then use backend invoke to look up the settings value from the remote or local site. The 'databases' form is preferred; 'db_url' will be…
drush_sitealias_add_db_url includes/sitealias.inc If the alias record does not contain a 'databases' or 'db-url' entry, then use backend invoke to look up the settings value from the remote or local site. The 'db_url' form is preferred; nothing is done if…
drush_sitealias_add_to_alias_path includes/sitealias.inc Add a path to the array of paths where alias files are searched for.
drush_sitealias_alias_path includes/sitealias.inc Return the array of paths where alias files are searched for.
drush_sitealias_alias_record_to_spec includes/sitealias.inc Convert from an alias record to a site specification
drush_sitealias_build_record_from_settings_file includes/sitealias.inc
drush_sitealias_cache_db_settings includes/sitealias.inc

Pages