99 calls to drush_get_context()

drush_backend_get_result in includes/backend.inc
drush_backend_output in includes/backend.inc
drush_backend_set_result in includes/backend.inc
drush_bootstrap in includes/environment.inc
Bootstrap Drush to the desired phase.
drush_bootstrap_error in includes/environment.inc
Helper function to collect any errors that occur during the bootstrap process. Always returns FALSE, for convenience.
drush_bootstrap_max in includes/environment.inc
Bootstrap to the highest level possible, without triggering any errors.
drush_bootstrap_value in includes/environment.inc
Helper function to store any context settings that are being validated.
drush_commandfile_list in includes/command.inc
Collect a list of all available drush command files.
drush_command_default_options in includes/command.inc
Conditionally include default options based on the command used.
drush_confirm in includes/drush.inc
Ask the user a basic yes/no question.
drush_core_call_rsync in commands/core/rsync.core.inc
Make a direct call to rsync after the source and destination paths have been evaluated.
drush_core_cli in commands/core/core.drush.inc
drush_core_find_project_path in commands/core/core.drush.inc
drush_core_help in commands/core/core.drush.inc
This is called if no command or an unknown command is entered.
drush_core_pre_site_install in commands/core/site_install.drush.inc
drush_core_rsync in commands/core/rsync.core.inc
Entrypoint for drush rsync.
drush_core_updatedb in commands/core/core.drush.inc
Command handler. Execute update.php code from drush.
drush_do_multiple_command in includes/drush.inc
Used by functions that operate on lists of sites, moving information from the source to the destination. Currenlty this includes 'drush rsync' and 'drush sql sync'.
drush_drupal_cache_clear_all in includes/drush.inc
drush_drupal_version in includes/drush.inc
Detects the version number of the current Drupal installation, if any. Returns FALSE if there is no current Drupal installation, or it is somehow broken.
drush_enforce_requirement_bootstrap_phase in includes/command.inc
Check that a command is valid for the current bootstrap phase.
drush_errors_off in includes/drush.inc
Turn PHP error handling off.
drush_errors_on in includes/drush.inc
Turn PHP error handling on.
drush_get_arguments in includes/context.inc
Get the arguments passed to the drush.php script.
drush_get_command in includes/context.inc
Return the command being executed.
drush_get_context_options in includes/context.inc
Get all of the values for an option in every context.
drush_get_error in includes/drush.inc
Return the current error handling status
drush_get_error_log in includes/drush.inc
Return the current list of errors that have occurred.
drush_get_log in includes/drush.inc
Retrieve the log messages from the log history
drush_get_merged_options in includes/context.inc
Retrieves a collapsed list of all options
drush_get_option in includes/context.inc
Get the value for an option.
drush_load_config_file in includes/context.inc
drush_log in includes/drush.inc
Add a log message to the log history.
drush_main in ./drush.php
The main Drush function.
drush_module_uninstall in commands/core/drupal/environment_7.inc
Uninstall a list of modules.
drush_module_uninstall in commands/core/drupal/environment_6.inc
Uninstall a list of modules.
drush_module_uninstall in commands/core/drupal/environment_5.inc
Uninstall a list of modules.
drush_op in includes/drush.inc
Calls a given function, passing through all arguments unchanged.
drush_parse_args in includes/command.inc
Parse console arguments.
drush_pipe_output in includes/drush.inc
drush_pm_enable in commands/pm/pm.drush.inc
Command callback. Enable one or more projects.
drush_pm_post_pm_updatecode in commands/pm/pm.drush.inc
Post-command callback for updatecode. Notify about any pending DB updates.
drush_pm_update in commands/pm/pm.drush.inc
Command callback. Execute updatecode.
drush_pm_updatecode in commands/pm/updatecode.pm.inc
Command callback. Displays update status info and allows to update installed projects. Pass specific projects as arguments, otherwise we update all that have candidate releases.
drush_pm_updatecode_rollback in commands/pm/updatecode.pm.inc
drush_pm_version_control_backup::pre_update in commands/pm/version_control/backup.inc
Implementation of pre_update().
drush_print_pipe in includes/drush.inc
Stores a message which is printed during drush_shutdown() if in compact mode.
drush_prompt in includes/drush.inc
Prompt the user for input
drush_redispatch_get_options in includes/drush.inc
Get the options for this command.
drush_remote_command in includes/drush.inc
Process commands that are executed on a remote drush instance.
drush_save_config in 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_set_config_special_contexts in 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 in includes/context.inc
Set a specific context.
drush_set_error in includes/drush.inc
Set an error code for the error handling system.
drush_set_option in includes/context.inc
Set an option in one of the option contexts.
drush_shell_exec in 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_show_help in includes/drush.inc
Prints out help for a given command.
drush_shutdown in ./drush.php
Shutdown function for use while Drupal is bootstrapping and to return any registered errors.
drush_sitealias_add_db_settings in 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_alias_path in includes/sitealias.inc
Return the array of paths where alias files are searched for.
drush_sitealias_evaluate_path in includes/sitealias.inc
Evaluate a path from its shorthand form to a literal path usable by rsync.
drush_sitealias_set_alias_context in includes/sitealias.inc
Given a site alias record, copy selected fields from it into the drush 'alias' context. The 'alias' context has lower precedence than the 'options' context, so values set by an alias record can be overridden by…
drush_sql_build_dump_command in commands/sql/sql.drush.inc
drush_sql_cli in commands/sql/sql.drush.inc
drush_table_column_autowidth in includes/drush.inc
Determine the best fit for column widths.
drush_unset_option in includes/context.inc
Remove a setting from a specific context.
drush_upgrade_site_upgrade in commands/core/upgrade.drush.inc
A drush command callback.
drush_valid_db_credentials in includes/environment.inc
Tests the currently loaded database credentials to ensure a database connection can be made.
drush_variable_delete in commands/core/variable.drush.inc
Command callback. Delete a variable.
drush_variable_set in commands/core/variable.drush.inc
Command callback. Set a variable.
package_handler_install_project in commands/pm/package_handler/wget.inc
Install a project.
package_handler_install_project in commands/pm/package_handler/cvs.inc
Install a project.
package_handler_update_project in commands/pm/package_handler/cvs.inc
Update a project (so far, only modules are supported).
pm_dl_destination in commands/pm/pm.drush.inc
Return the best destination for a particular download type we can find, given the drupal and site contexts.
pm_drush_pm_adjust_download_destination in commands/pm/pm.drush.inc
Built-in adjust-download-destination hook. This particular version of the hook will move modules that contain only drush commands to /usr/share/drush/commands if it exists, or $HOME/.drush if the site-wide location does not exist.
pm_parse_project_version in commands/pm/pm.drush.inc
Parse out the project name and version and return as a structured array
pm_update_packages in commands/pm/updatecode.pm.inc
Update packages according to an array of releases, following interactive confirmation from the user.
pm_update_project in commands/pm/updatecode.pm.inc
Update one project -- a module, theme or Drupal core
update_main in commands/core/drupal/update_5.inc
update_main_prepare in commands/core/drupal/update_6.inc
_core_path_aliases in commands/core/core.drush.inc
_core_site_status_table in commands/core/core.drush.inc
_drush_backend_generate_command in includes/backend.inc
Generate a command to execute.
_drush_bootstrap_do_drupal_site in includes/environment.inc
Called by _drush_bootstrap_drupal_site to do the main work of the drush drupal site bootstrap.
_drush_command_set_default_options in includes/command.inc
_drush_config_file in includes/context.inc
Return a list of possible drushrc file locations.
_drush_find_commandfiles in includes/command.inc
_drush_find_local_sites_at_root in includes/sitealias.inc
Return a list of all of the local sites at the specified drupal root.
_drush_print_log in includes/drush.inc
Display the log message
_drush_sitealias_alias_list in commands/core/sitealias.drush.inc
Return a list of all site aliases known to drush.
_drush_sitealias_cache_alias in includes/sitealias.inc
Add an empty record for the specified alias name
_drush_sitealias_find_and_load_alias in includes/sitealias.inc
Worker function called by _drush_sitealias_load_alias and drush_sitealias_load_all. Traverses the alias search path and finds the specified alias record.
_drush_sitealias_get_record in includes/sitealias.inc
_drush_sitealias_load_alias in includes/sitealias.inc
Check and see if an alias definition for $alias is available. If it is, load it into the list of aliases cached in the 'site-aliases' context.
_drush_sitealias_site_list in commands/core/sitealias.drush.inc
Return a list of all of the local sites at the current drupal root.
_drush_sql_connect in commands/sql/sql.drush.inc
Command callback. Emits a connect string for mysql or pgsql.
_drush_sql_query in commands/sql/sql.drush.inc
_drush_sql_sync in commands/sql/sync.sql.inc
_pm_update_core in commands/pm/updatecode.pm.inc
Update drupal core, following interactive confirmation from the user.