Contains filters are case sensitive
Name Locationsort descending Description
drush_redispatch_get_options includes/ Get the options that were passed to the current command.
drush_parse_args includes/ Parse console arguments.
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_commands_categorize includes/ Organize commands into categories. Used by help listing and core-cli.
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/ Called by drush_parse_command(). If a command is dispatched directly by drush_dispatch(), then drush_dispatch() will call this function.
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_command_normalize_name 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 and site alias 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_sitealias_command_default_options includes/
drush_command_set_command_specific_options includes/
drush_command_set_command_specific includes/
_drush_command_set_default_options includes/
drush_command_get_command_specific_options includes/ Return all of the command-specific options defined in the given options set for the specified command name. Note that it is valid to use the command name alias rather than the primary command name, both in the parameter to this function, and in the…
drush_get_original_cli_args_and_options includes/ Return the original cli args and options, exactly as they appeared on the command line, and in the same order. Any command-specific options that were set will also appear in this list, appended at the very end.
drush_command_hook includes/ Determine whether a command file implements a hook.
drush_enforce_requirement_bootstrap_phase includes/ Check that a command is valid for the current bootstrap phase.
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 7+ (compatible with 7,8 ...).
drush_shell_alias_replace includes/ Check if a shell alias exists for current request. If so, re-route to core-execute and pass alias value along with rest of CLI arguments.
commandfiles_cache includes/
drush_early_complete includes/ Produce autocomplete output.
drush_complete_process_argv includes/ This function resets the raw arguments so that Drush can parse the command as if it was run directly. The shell complete command passes the full command line as an argument, and the --early and --complete-debug options have to come before that, and…
drush_complete_match includes/ Retrieves the appropriate list of candidate completions, then filters this list using the last word that we are trying to complete.
drush_complete_match_file includes/ Retrieves the appropriate list of candidate file/directory completions, filtered by the last word that we are trying to complete.
drush_hyphenate_options includes/ Simple helper function to ensure options are properly hyphenated before we return them to the user (we match against the non-hyphenated versions internally).
drush_complete_get includes/ Retrieves from cache, or generates a listing of completion candidates of a specific type (and optionally, command).
drush_complete_rebuild includes/ Rebuild and cache completions for everything except command arguments.
drush_complete_trailing_space includes/ Helper callback function that adds a trailing space to completes in an array.
drush_complete_rebuild_arguments includes/ Rebuild and cache completions for command arguments.
drush_complete_cache_set includes/ Stores caches for completions.
drush_complete_cache_cid includes/ Generate a cache id.
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.