Functions

Contains filters are case sensitive
Name Locationsort descending Description
drush_redispatch_get_options includes/command.inc Get the options that were passed to the current command.
drush_parse_args includes/command.inc Parse console arguments.
drush_shift includes/command.inc Pop an argument off of drush's argument list
drush_adjust_args_if_shebang_script includes/command.inc Special checking for "shebang" script handling.
drush_process_bootstrap_to_first_arg includes/command.inc Process the --bootstrap-to-first-arg option, if it is present.
drush_get_commands includes/command.inc Get a list of all implemented commands. This invokes hook_drush_command().
drush_commands_categorize includes/command.inc Organize commands into categories. Used by help listing and core-cli.
drush_command_defaults includes/command.inc
drush_command_translate includes/command.inc Translates description and other keys of a command definition.
_drush_command_translate includes/command.inc Helper function for drush_command_translate().
drush_parse_command includes/command.inc Matches a commands array, as returned by drush_get_arguments, with the current command table.
_drush_prepare_command includes/command.inc 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/command.inc Invoke a hook in all available command files that implement it.
drush_command_invoke_all_ref includes/command.inc A drush_command_invoke_all() that wants the first parameter to be passed by reference.
drush_command_implements includes/command.inc Determine which command files are implementing a hook.
drush_is_command includes/command.inc
drush_command_normalize_name includes/command.inc
drush_commandfile_list includes/command.inc Collect a list of all available drush command files.
_drush_find_commandfiles includes/command.inc
_drush_add_commandfiles includes/command.inc
drush_filename_blacklist includes/command.inc Substrings to ignore during commandfile and site alias searching.
drush_command_include includes/command.inc Conditionally include files based on the command used.
drush_command_get_includes includes/command.inc
drush_command_default_options includes/command.inc Conditionally include default options based on the command used.
drush_sitealias_command_default_options includes/command.inc
drush_command_set_command_specific_options includes/command.inc
drush_command_set_command_specific includes/command.inc
_drush_command_set_default_options includes/command.inc
drush_command_get_command_specific_options includes/command.inc 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/command.inc 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/command.inc Determine whether a command file implements a hook.
drush_enforce_requirement_bootstrap_phase includes/command.inc Check that a command is valid for the current bootstrap phase.
drush_enforce_requirement_drush_dependencies includes/command.inc 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/command.inc 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/command.inc 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/command.inc
drush_early_complete includes/complete.inc Produce autocomplete output.
drush_complete_process_argv includes/complete.inc 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/complete.inc 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/complete.inc Retrieves the appropriate list of candidate file/directory completions, filtered by the last word that we are trying to complete.
drush_hyphenate_options includes/complete.inc 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/complete.inc Retrieves from cache, or generates a listing of completion candidates of a specific type (and optionally, command).
drush_complete_rebuild includes/complete.inc Rebuild and cache completions for everything except command arguments.
drush_complete_trailing_space includes/complete.inc Helper callback function that adds a trailing space to completes in an array.
drush_complete_rebuild_arguments includes/complete.inc Rebuild and cache completions for command arguments.
drush_complete_cache_set includes/complete.inc Stores caches for completions.
drush_complete_cache_cid includes/complete.inc Generate a cache id.
drush_context_names includes/context.inc Return a list of the valid drush context names.
_drush_config_file includes/context.inc Return a list of possible drushrc file locations.
drush_load_config includes/context.inc Load drushrc files (if available) from several possible locations.

Pages