Contains filters are case sensitive
Name Locationsort descending Description
drush_get_commands includes/ Get a list of all implemented commands. This invokes hook_drush_command().
drush_parse_command includes/ Matches a commands array, as returned by drush_get_arguments, with the current command table.
drush_invoke includes/ Invoke drush api calls.
drush_command includes/ Entry point for commands into the drush_invoke API
drush_command_invoke_all includes/ Invoke a hook in all available command files that implement it.
drush_command_invoke_all_ref includes/
drush_command_implements includes/ Determine which command files are implementing a hook.
drush_is_command includes/
drush_commandfile_list includes/ Collect a list of all available drush command files.
_drush_find_commandfiles includes/
drush_command_include includes/ Conditionally include files based on the command used.
drush_command_default_options includes/ Conditionally include default options based on the command used.
_drush_command_set_default_options includes/
drush_command_hook includes/ Determine whether a command file implements a hook.
drush_scan_directory includes/ 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_enforce_requirement_bootstrap_phase includes/ Check that a command is valid for the current bootstrap phase.
drush_enforce_requirement_drupal_dependencies includes/ Check that a command has its declared dependencies available or have no dependencies.
drush_enforce_requirement_core includes/ Check that a command is valid for the current major version of core.
drush_context_names includes/ Return a list of the valid drush context names.
_drush_config_file includes/ Return a list of possible drushrc file locations.
drush_load_config includes/ Load drushrc files (if available) from several possible locations.
drush_load_config_file includes/
drush_set_config_options includes/
drush_set_config_special_contexts includes/ 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/ Set a specific context.
drush_get_context includes/ Return a specific context, or the whole context cache
drush_set_arguments includes/ Set the arguments passed to the drush.php script.
drush_get_arguments includes/ Get the arguments passed to the drush.php script.
drush_set_command includes/ Set the command being executed.
drush_get_command includes/ Return the command being executed.
drush_get_option includes/ Get the value for an option.
drush_get_option_override includes/ Get the value for an option, but first checks the provided option overrides.
drush_get_context_options includes/ Get all of the values for an option in every context.
drush_get_merged_options includes/ Retrieves a collapsed list of all options
_drush_get_option includes/ Helper function to recurse through possible option names
drush_set_option includes/ Set an option in one of the option contexts.
drush_set_default includes/ A small helper function to set the value in the default context
drush_unset_option includes/ Remove a setting from a specific context.
drush_save_config includes/ 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_print_r includes/ Prints an array or string.
drush_confirm includes/ Ask the user a basic yes/no question.
drush_choice includes/ Ask the user to select an item from a list. From a provided associative array, drush_choice will display all of the questions, numbered from 1 to N, and return the item the user selected. "0" is always cancel; entering a blank line is also…
drush_prompt includes/ Prompt the user for input
drush_print_table includes/ Print a formatted table.
drush_key_value_to_array_table includes/ Convert an associative array of key : value pairs into a table suitable for processing by drush_print_table.
drush_table_column_autowidth includes/ Determine the best fit for column widths.
drush_remote_command includes/ Process commands that are executed on a remote drush instance.
drush_do_multiple_command includes/ 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_do_site_command includes/
drush_do_command_redispatch includes/ Redispatch the specified command using the same options that were passed to this invocation of drush.