Functions

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

Pages