Functions

Contains filters are case sensitive
Name Locationsort descending Description
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_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
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 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_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 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_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_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 6+ (compatible with 6, 7 ...).
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_list includes/context.inc 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/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.

Pages