Functions

Contains filters are case sensitive
Name Locationsort ascending Description
drush_invoke includes/command.inc Invokes a Drush API call, including all hooks.
drush_invoke_process includes/command.inc Invoke a command in a new process, targeting the site specified by the provided site alias record.
drush_dispatch includes/command.inc Given a command record, dispatch it as if it were the original command. Executes in the currently bootstrapped site using the current option contexts. Note that drush_dispatch will not bootstrap any further than the current command has already…
drush_command includes/command.inc Entry point for commands into the drush_invoke() API
_drush_invoke_hooks includes/command.inc Invoke Drush API calls, including all hooks.
drush_handle_command_output includes/command.inc Convert the structured output array provided from the Drush command into formatted output. Output is only printed for commands that define 'default-format' &/or 'default-pipe-format'; all other commands are expected to do…
_drush_verify_cli_options includes/command.inc Fail with an error if the user specified options on the command line that are not documented in the current command record. Also verify that required options are present.
drush_append_negation_options includes/command.inc
_drush_verify_cli_arguments includes/command.inc
_drush_get_command_options includes/command.inc Return the list of all of the options for the given command record by merging the 'options' and 'sub-options' records.
_drush_flatten_options includes/command.inc Return the array keys of $options, plus any 'short-form' representations that may appear in the option's value.
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_cache_get_object includes/cache.inc Get the cache object for a cache bin.
drush_cache_get includes/cache.inc Return data from the persistent cache.
drush_cache_get_multiple includes/cache.inc Return data from the persistent cache when given an array of cache IDs.

Pages