Contains filters are case sensitive
Name Locationsort descending Description
drush_shift includes/ Pop an argument off of drush's argument list
drush_adjust_args_if_shebang_script includes/ Special checking for "shebang" script handling.
drush_process_bootstrap_to_first_arg includes/ Process the --bootstrap-to-first-arg option, if it is present.
drush_get_commands includes/ Get a list of all implemented commands. This invokes hook_drush_command().
drush_command_defaults includes/
drush_command_translate includes/ Translates description and other keys of a command definition.
_drush_command_translate includes/ Helper function for drush_command_translate().
drush_parse_command includes/ Matches a commands array, as returned by drush_get_arguments, with the current command table.
_drush_prepare_command includes/
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/ A drush_command_invoke_all() that wants the first parameter to be passed by reference.
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_add_commandfiles includes/
drush_filename_blacklist includes/ Substrings to ignore during commandfile searching.
drush_command_include includes/ Conditionally include files based on the command used.
drush_command_get_includes includes/
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_drush_dependencies includes/ Check that a command has its declared drush dependencies available or have no dependencies. Drush dependencies are helpful when a command is invoking another command, or implementing its API.
drush_enforce_requirement_core includes/ Check that a command is valid for the current major version of core. Handles explicit version numbers and 'plus' numbers like 6+ (compatible with 6, 7 ...).
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_list includes/ Get the value for an option and return it as a list. If the option in question is passed on the command line, its value should be a comma-separated list (e.g. --flag=1,2,3). If the option was set in a drushrc.php file, then its value may be either…
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.