173 calls to drush_get_option()

druplicon_drush_exit in commands/core/druplicon.drush.inc
Implements hook_drush_exit().
DrushMakeProject::applyPatches in commands/make/make.project.inc
Retrieve and apply any patches specified by the makefile to this project.
DrushMakeProject::make in commands/make/make.project.inc
Build a project.
drush_archive_dump in commands/core/archive.drush.inc
Command callback. Generate site archive file.
drush_archive_restore in commands/core/archive.drush.inc
Command callback. Restore web site(s) from a site archive file.
drush_build_drush_command in includes/environment.inc
Build a drush command suitable for use for drush to call itself e.g. in backend_invoke.
drush_cache_command_set in commands/core/cache.drush.inc
Set an object in the cache.
drush_choice in 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_command in includes/command.inc
Entry point for commands into the drush_invoke() API
drush_command_set_command_specific_options in includes/command.inc
drush_complete_cache_cid in includes/complete.inc
Generate a cache id.
drush_core_drupal_directory in commands/core/core.drush.inc
Command callback.
drush_core_help in commands/core/help.drush.inc
Command callback for help command. This is the default command, when none other has been specified.
drush_core_php_script in commands/core/core.drush.inc
Command callback. Runs "naked" php scripts and drush "shebang" scripts ("#!/usr/bin/env drush").
drush_core_pre_site_install in commands/core/site_install.drush.inc
Perform setup tasks for installation.
drush_core_quick_drupal in commands/core/core.drush.inc
Callback for core-quick-drupal command.
drush_core_requirements in commands/core/core.drush.inc
Command callback. Provides information from the 'Status Reports' admin page.
drush_core_runserver in commands/runserver/runserver.drush.inc
Callback for runserver command.
drush_core_runserver_validate in commands/runserver/runserver.drush.inc
Validate callback for runserver command.
drush_core_site_install_validate in commands/core/site_install.drush.inc
Command validate.
drush_core_site_install_version in commands/core/drupal/site_install_6.inc
Install Drupal 6.x
drush_core_site_install_version in commands/core/drupal/site_install.inc
Install Drupal 7+
drush_core_status in commands/core/core.drush.inc
Command callback. Provides a birds-eye view of the current Drupal installation.
drush_core_watchdog_delete in commands/core/watchdog.drush.inc
Command callback.
drush_core_watchdog_show_many in commands/core/watchdog.drush.inc
Print a table of watchdog messages.
drush_download_file in includes/drush.inc
Download a file using wget, curl or file_get_contents, or via download cache.
drush_do_command_redispatch in includes/drush.inc
Redispatch the specified command using the same options that were passed to this invocation of drush.
drush_early_complete in includes/complete.inc
Produce autocomplete output.
drush_environment_lib in includes/environment.inc
Check for the existence of the specified lib directory, and create if needed.
drush_environment_table_lib in includes/environment.inc
drush_error_handler in includes/environment.inc
Log PHP errors to the Drush log. This is in effect until Drupal's error handler takes over.
drush_field_create in commands/core/field.drush.inc
drush_field_delete in commands/core/field.drush.inc
drush_field_get_entity_from_bundle in commands/core/field.drush.inc
drush_format in includes/output.inc
Prepares a variable for printing. Loads the requested output formatter and uses it to process the provided input.
drush_get_editor in includes/exec.inc
Returns executable code for invoking preferred test editor.
drush_get_option_list in 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_user_selected_engine in includes/engines.inc
Obtains the engine to use.
drush_handle_command_output in 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_help_categorize in commands/core/help.drush.inc
Organize commands into categories
drush_hook_pre_pm_enable in docs/drush.api.php
Automatically download project dependencies at pm-enable time. Use a pre-pm_enable hook to download before your module is enabled, or a post-pm_enable hook (drush_hook_post_pm_enable) to run after your module is enabled.
drush_image_flush in commands/core/image.drush.inc
drush_lib_fetch in includes/drush.inc
Download and extract a tarball to the lib directory.
drush_main in ./drush.php
The main Drush function.
drush_make in commands/make/make.drush.inc
Drush callback; make based on the makefile.
drush_make_post_make in commands/make/make.drush.inc
Implements drush_hook_post_COMMAND() for the make command.
drush_make_process in commands/make/make.drush.inc
Drush callback: hidden file to process an individual project.
drush_notify_allowed in commands/core/notify.drush.inc
Identify if the given Drush request should trigger a notification.
drush_notify_send in commands/core/notify.drush.inc
Prepares and dispatches notifications to delivery mechanisms.
drush_notify_send_audio in commands/core/notify.drush.inc
Send an audio-based system notification.
drush_notify_send_text in commands/core/notify.drush.inc
Send text-based system notification.
drush_notify_shutdown_error in commands/core/notify.drush.inc
Shutdown function to signal on errors.
drush_os in includes/exec.inc
Determine the appropriate os value for the specified site record
drush_outputformat::process in commands/core/outputformat.drush.inc
Perform pre-processing and then format() the $input.
drush_parse_command in includes/command.inc
Matches a commands array, as returned by drush_get_arguments, with the current command table.
drush_pm_download in commands/pm/download.pm.inc
Command callback. Download Drupal core or any project.
drush_pm_download_validate in commands/pm/download.pm.inc
Implements drush_hook_COMMAND_validate().
drush_pm_enable_validate in commands/pm/pm.drush.inc
Validate callback. Determine the modules and themes that the user would like enabled.
drush_pm_include_version_control in commands/pm/pm.drush.inc
A simple factory function that tests for version control systems, in a user specified order, and returns the one that appears to be appropriate for a specific directory.
drush_pm_list in commands/pm/pm.drush.inc
Command callback. Show a list of extensions with type and status.
drush_pm_post_pm_updatecode in commands/pm/pm.drush.inc
Post-command callback for updatecode.
drush_pm_releases in commands/pm/pm.drush.inc
Command callback. Show available releases for given project(s).
drush_pm_updatecode in commands/pm/updatecode.pm.inc
Command callback. Displays update status info and allows to update installed projects.
drush_pm_updatecode_validate in commands/pm/pm.drush.inc
Validate callback for updatecode command. Abort if 'backup' directory exists.
drush_pm_updatestatus in commands/pm/updatestatus.pm.inc
Command callback. Displays update status info of installed projects.
drush_policy_updatedb_validate in examples/policy.drush.inc
Implementation of drush_hook_COMMAND_validate().
drush_preflight_backup_dir in includes/filesystem.inc
Decide where our backup directory should go
drush_preflight_command_dispatch in includes/drush.inc
Handle any command preprocessing that may need to be done, including potentially redispatching the command immediately (e.g. for remote commands).
drush_print in includes/output.inc
Prints a message with optional indentation. In general, drush_log($message, 'ok') is often a better choice than this function. That gets your confirmation message (for example) into the logs for this drush request. Consider that drush…
drush_print_format in includes/output.inc
Format some data and print it out. Respect --format option.
drush_process_bootstrap_to_first_arg in includes/command.inc
Process the --bootstrap-to-first-arg option, if it is present.
drush_queue_run in commands/core/queue.drush.inc
Command callback for drush queue-run.
drush_redispatch_get_options in includes/command.inc
Get the options that were passed to the current command.
drush_role_list in commands/core/role.drush.inc
Displays a list of roles
drush_role_perm in commands/core/role.drush.inc
Implement permission add / remove operations.
drush_sandwich_make_me_a_sandwich in examples/sandwich.drush.inc
Example drush command callback. This is where the action takes place.
drush_search_reindex in commands/core/search.drush.inc
drush_shell_proc_build in includes/exec.inc
Build an SSH string including an optional fragment of bash. Commands that use this should also merge drush_shell_proc_build_options() into their command options.
drush_sitealias_get_option in includes/context.inc
Get an option out of the specified alias. If it has not been set in the alias, then get it via drush_get_option.
drush_sitealias_get_path_option in includes/sitealias.inc
First return an option set via drush_sitealias_overlay_options, if any, then fall back on "%" . $option from the path aliases.
drush_sitealias_print in commands/core/sitealias.drush.inc
Print out the specified site aliases (or else all) using the format specified.
drush_sql_bootstrap_further in commands/sql/sql.drush.inc
Check whether further bootstrap is needed. If so, do it.
drush_sql_build_dump_command in commands/sql/sql.drush.inc
Build a mysqldump/pg_dump/sqlite statement.
drush_sql_build_exec in commands/sql/sql.drush.inc
drush_sql_conf in commands/sql/sql.drush.inc
Command callback. Displays the Drupal site's database connection string.
drush_sql_dump in commands/sql/sql.drush.inc
Build a mysqldump/pg_dump/sqlite statement.
drush_sql_post_sql_sync in commands/sql/sync.sql.inc
Apply all post-sync operations that were registered in any pre-sync hook. Follow the pattern of this function to make your own post-sync hook. If changing the database, be sure to also include a pre-sync hook to notify the user of the change that will…
drush_sql_query in commands/sql/sql.drush.inc
Command callback. Executes the given SQL query on the Drupal database.
drush_sql_sanitize in commands/sql/sql.drush.inc
Command callback. Run's the sanitization operations on the current database.
drush_sql_sync in commands/sql/sync.sql.inc
drush_sql_sync_init in commands/sql/sync.sql.inc
Sql sync init function. Bootstrap either the source or the destination site. At least one of the sites must be local for this to work; if both sites are remote, then it clearly will not be possible to bootstrap to either of them. If both are local,…
drush_ssh_site_ssh in commands/core/ssh.drush.inc
Command callback.
drush_start_browser in includes/exec.inc
Starts a background browser/tab for the current site or a specified URL.
drush_sync_enable_post_sql_sync in examples/sync_enable.drush.inc
Implement hook post sql sync.
drush_sync_via_http_pre_sql_sync in examples/sync_via_http.drush.inc
Implement hook pre sql sync.
drush_test_run in commands/core/test.drush.inc
Test-run command callback.
drush_test_run_validate in commands/core/test.drush.inc
drush_user_cancel in commands/user/user.drush.inc
Cancels a user account.
drush_user_create in commands/user/user.drush.inc
Creates a new user account.
drush_user_login in commands/user/user.drush.inc
Displays a one time login link for the given user.
drush_user_password in commands/user/user.drush.inc
Sets the password for the account with the given username
drush_variable_delete in commands/core/variable.drush.inc
Command callback. Delete a variable.
drush_variable_get in commands/core/variable.drush.inc
Command callback. List your site's variables.
drush_variable_set in commands/core/variable.drush.inc
Command callback. Set a variable.
drush_version_control_backup::post_update in commands/pm/version_control/backup.inc
Implementation of post_update().
drush_version_control_backup::pre_update in commands/pm/version_control/backup.inc
Implementation of pre_update().
drush_version_control_backup::rollback in commands/pm/version_control/backup.inc
Implementation of rollback().
drush_version_control_bzr::commit in commands/pm/version_control/bzr.inc
Automatically commit changes to the repository
drush_version_control_bzr::sync in commands/pm/version_control/bzr.inc
Automatically add any unversioned files to Bazaar and remove any files that have been deleted on the file system
drush_version_control_svn::commit in commands/pm/version_control/svn.inc
Automatically commit changes to the repository
drush_version_control_svn::pre_update in commands/pm/version_control/svn.inc
Implementation of pre_update().
drush_version_control_svn::rollback in commands/pm/version_control/svn.inc
Implementation of rollback().
drush_version_control_svn::sync in commands/pm/version_control/svn.inc
Automatically add any unversioned files to Subversion and remove any files that have been deleted on the file system
drush_xkcd_display in examples/xkcd.drush.inc
Retrieve and display a table of metadata for an XKCD cartoon, then retrieve and display the cartoon using a specified image viewer.
drush_xkcd_fetch in examples/xkcd.drush.inc
Example drush command callback. This is where the action takes place.
make_build_path in commands/make/make.drush.inc
The path where the final build will be placed.
make_clean_tmp in commands/make/make.utilities.inc
Removes the temporary build directory. On failed builds, this is handled by drush_register_file_for_deletion().
make_download_file in commands/make/make.download.inc
Downloads a file to the specified location.
make_download_git in commands/make/make.download.inc
Checks out a git repository to the specified download location.
make_download_pm in commands/make/make.download.inc
Download project using drush's pm-download command.
make_error in commands/make/make.utilities.inc
Logs an error unless the --force-complete command line option is specified.
make_libraries in commands/make/make.drush.inc
Process all libraries specified in the make file.
make_move_build in commands/make/make.drush.inc
Move the completed build into place.
make_projects in commands/make/make.drush.inc
Process all projects specified in the make file.
make_tmp in commands/make/make.utilities.inc
Find, and possibly create, a temporary directory.
package_handler_download_project in commands/pm/package_handler/wget.inc
Download a project.
package_handler_download_project in commands/pm/package_handler/git_drupalorg.inc
Download a project.
package_handler_post_download in commands/pm/package_handler/git_drupalorg.inc
Post download action.
package_handler_update_project in commands/pm/package_handler/git_drupalorg.inc
Update a project (so far, only modules are supported).
package_handler_validate in commands/pm/package_handler/git_drupalorg.inc
Validate this package handler can run.
pm_parse_project_version in commands/pm/pm.drush.inc
Parse out the project name and version and return as a structured array.
pm_update_packages in commands/pm/updatecode.pm.inc
Update projects according to an array of releases and print the release notes for each project, following interactive confirmation from the user.
pm_update_project in commands/pm/updatecode.pm.inc
Update one project -- a module, theme or Drupal core.
release_info_print_releasenotes in commands/pm/release_info/updatexml.inc
Prints release notes for given projects.
simpletest_drush_run_test in commands/core/test.drush.inc
Run a single test and display any failure messages.
sql_drush_sql_sync_sanitize in commands/sql/sync.sql.inc
Sql sync sanitization function. This hook function will sanitize usernames, passwords, and sessions when the --sanitize option is used. It is also an example of how to write a database sanitizer for sql sync.
system_watchdog in includes/drupal.inc
Log Drupal watchdog() calls.
updatexml_get_release_history_xml in commands/pm/release_info/updatexml.inc
Download the release history xml for the specified request.
usage_drush_exit in commands/core/usage.drush.inc
Log and/or send usage data to Mongolab.
_core_path_aliases in commands/core/core.drush.inc
_core_site_status_table in commands/core/core.drush.inc
_drush_backend_generate_command in includes/backend.inc
Generate a command to execute.
_drush_backend_get_global_contexts in includes/backend.inc
Find all of the drush contexts that are used to cache global values and return them in an associative array.
_drush_bootstrap_drupal_login in includes/bootstrap.inc
Log into the bootstrapped Drupal site with a specific username or user id.
_drush_bootstrap_drush in includes/bootstrap.inc
Initial Drush bootstrap phase.
_drush_bootstrap_global_options in includes/bootstrap.inc
_drush_bootstrap_output_prepare in includes/bootstrap.inc
_drush_bootstrap_selected_uri in includes/bootstrap.inc
Find the URI that has been selected by the --uri / -l option or the cwd.
_drush_bootstrap_select_drupal_site in includes/bootstrap.inc
Determine which Drupal site will be selected.
_drush_build_rsync_options in commands/core/rsync.core.inc
_drush_cache_get_object in includes/cache.inc
Get the cache object for a cache bin.
_drush_command_set_default_options in includes/command.inc
_drush_core_status_format_table_data in commands/core/core.drush.inc
_drush_find_local_sites_at_root in includes/sitealias.inc
Return a list of all of the local sites at the specified drupal root.
_drush_invoke_hooks in includes/command.inc
Invoke Drush API calls, including all hooks.
_drush_make_generate_get_version_options in commands/make/generate.make.inc
Create the $version_options array from the --include-versions and --exclude-versions command line options.
_drush_rsync_option_exists in commands/core/rsync.core.inc
_drush_sitealias_prepare_record in commands/core/sitealias.drush.inc
Given a site alias name, print out a php-syntax representation of it.
_drush_sitealias_user_specified_list in commands/core/sitealias.drush.inc
Return the list of site aliases (remote or local) that the user specified on the command line. If none were specified, then all are returned.
_drush_site_install6_cookies in commands/core/drupal/site_install_6.inc
Utility function to grab/set current "cli cookie".
_drush_sql_connect in commands/sql/sql.drush.inc
Command callback. Emits a connect string for mysql or pgsql.
_drush_sql_get_db_spec in commands/sql/sql.drush.inc
Get a database specification for the active DB connection. Honors the 'database' and 'target command' line options. Honors a --db-url option.
_drush_sql_get_raw_table_list in commands/sql/sql.drush.inc
Consult the specified options and return the list of tables specified.
_drush_sql_get_spec_from_options in commands/sql/sql.drush.inc
_drush_sql_query in commands/sql/sql.drush.inc
Execute a SQL query.
_drush_user_get_users_from_options_and_arguments in commands/user/user.drush.inc
Return the list of matching uids given
_drush_verify_cli_options in 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.
_get_working_copy_option in commands/make/make.utilities.inc
Gather any working copy options.
_make_download_file in commands/make/make.download.inc
Wrapper to drush_download_file().
_make_enable_cache in commands/make/make.drush.inc
Enables caching if not explicitly disabled.
_make_is_override_allowed in commands/make/make.utilities.inc
Check if makefile overrides are allowed
_pm_download_destination in commands/pm/download.pm.inc
Returns the best destination for a particular download type we can find.
_pm_update_core in commands/pm/updatecode.pm.inc
Update drupal core, following interactive confirmation from the user.