- Jul 17, 2013
-
-
Moshe Weitzman authored
-
- Jun 29, 2013
-
-
Moshe Weitzman authored
Replace with json.
-
- Mar 30, 2013
-
- Feb 09, 2013
-
-
Greg Anderson authored
-
- Oct 04, 2012
-
-
Moshe Weitzman authored
This commit lets us find config, site aliases, and commands in /drush in addition to /sites/all/drush.
-
- Jul 10, 2012
-
-
- Feb 11, 2012
-
-
Moshe Weitzman authored
Issue #1416198 by moshe weitzman | chx: Options should hint about their values in Help. Distinguish between optional and required values.
-
- Dec 24, 2011
-
-
Moshe Weitzman authored
Issue #1370956 by greg.1.anderson, Rob Loach, msonnabaum: Added Support for commandfiles, alias files, and config files in DRUPA_ROOT/sites/all/drush.
-
- Aug 16, 2011
-
-
Greg Anderson authored
#663290 by greg.1.anderson: document allow-additional-options, and also merge in options from subcommands in the output of Execute a drush command. Run `drush help [command]` to view command-specific help. Run `drush topic` to read even more documentation. Global options (see `drush topic core-global-options` for the full list).: -r <path>, --root=<path> Drupal root directory to use (default: current directory). -l http://example.com:8888, URI of the drupal site to use (only needed in multisite environments or when --uri=http://example.com:8888 running on an alternate port). -v, --verbose Display extra information about the command. -d, --debug Display even more information, including internal messages. -y, --yes Assume 'yes' as answer to all prompts. -n, --no Assume 'no' as answer to all prompts. -s, --simulate Simulate all relevant actions (don't actually change the system). -p, --pipe Emit a compact representation of the command for scripting. -h, --help This help system. --version Show drush version. --php The absolute path to your PHP intepreter, if not 'php' in the path. --ia Force interactive mode for commands run on multiple targets (e.g. `drush @site1,@site2 cc --ia`). Core drush commands: (core) archive-dump (ard, Backup your code, files, and database into a single file. archive-backup, arb) archive-restore Expand a site archive into a Drupal web site. (arr) cache-clear (cc) Clear a specific cache, or all drupal caches. cache-get (cg) Fetch a cached object and display it. cache-set (cs) Cache an object expressed in JSON or var_export() format. core-cli (cli) Enter a new shell optimized for drush use. Returns the exit code of the last command executed in the shell. core-config (conf, Edit drushrc, site alias, and Drupal settings.php files. config) core-cron (cron) Run all cron hooks in all active modules for specified site. core-execute (exec, Execute a shell command. Usually used with a site alias. execute) core-rsync (rsync) Rsync the Drupal tree to/from another server using ssh. core-status (status, Provides a birds-eye view of the current Drupal installation, if any. st) core-topic (topic) Read detailed documentation on a given topic. drupal-directory Return path to a given module/theme directory. (dd) help Print this help message. See `drush help help` for more options. image-flush Flush all derived images for a given style. php-eval (eval, ev) Evaluate arbitrary php code after bootstrapping Drupal (if available). php-script (scr) Run php script(s). search-index Index the remaining search items without wiping the index. search-reindex Force the search index to be rebuilt. search-status Show how many items remain to be indexed out of the total. self-update Update drush to the latest version, if available. (selfupdate) shell-alias (sha) Print all known shell alias records. site-alias (sa) Print site alias records for all known site aliases and local sites. site-install (si) Install Drupal along with modules/themes/configuration using the specified install profile. site-ssh (ssh) Connect to a Drupal site's server via SSH for an interactive session or to run a shell command site-upgrade (sup) Run a major version upgrade for Drupal (e.g. Drupal 6 to Drupal 7). A copy of the site is made, and then upgraded; the source site is not changed. test-clean Clean temporary tables and files. test-run Run tests. Note that you must use the --uri option. updatedb (updb) Apply any database updates required (as with running update.php). variable-delete Delete a variable. (vdel) variable-get (vget) Get a list of some or all site variables and values. variable-set (vset) Set a variable. version Show drush version. watchdog-delete Delete watchdog messages. (wd-del, wd-delete) watchdog-list Show available message types and severity levels. A prompt will ask for a choice to show (wd-list) watchdog messages. watchdog-show Show watchdog messages. (wd-show, ws) Runserver commands: (runserver) runserver (rs) Runs a lightweight built in http server for development. Drupal on Git (dog) commands: (dog) dog-catchup (dogre) Update an existing dog-managed Drupal site to the latest state recorded in the main collab repository. dog-collab Changes the collab remote to a module, theme or main repository. Useful if one was not set up initially or flexibility is required. dog-dl Download contributed projects from Drupal.org via git cloning and register them into the dog system. This is essentially a wrapper on `drush dl` without the "--version-control*" and "--package-handler*" arguments, as those considerations are handled by dog. dog-init Set up a new dog-managed Drupal instance. dog-log Wrapper on `git log` that helps filter log output to exclude upstream and irrelevant commit activity. dog-remove (doggone) Remove a dog-managed extension from the site. This removes the attached git repository and removes all references to it from dog's metadata. dog-revert Roll back a dog resync operation. dog-rollout (dogro) Roll out a new dog-managed Drupal instance either from an existing dog repository or a raw dog manifest. dog-rollup (dogru) Update the dog manifests & metadata, or init them if they have not yet been created. dog-upstream-update Pull updates from upstream and commit them to the collab remote if one exists. (dogup) dog-vet Inspect and report on the state of the current dog-managed Drupal instance, as it pertains to dog. Drush extras: (drush_extras) block-configure Saves single block configuration (ie move block to a region) block-disable Quickly disable a single block block-show Show the configuration options for one or more blocks give-comment (gc) Give ownership of a comment to the specified user. give-node (gn) Give ownership of a node and its most recent revision to the specified user. grep (dgrep) grep through content using PCREs. make-make Create a drush make makefile from an existing site. pushkey Generate a public/private key pair and push the public key to a remote server. sql-compare (sqlh) Show each table that differs in content in any way between two sites. sql-hash (sqlh) Output hash values for each table in the database. Run before and after an operation on a Drupal site to track table usage. Field commands: (field) field-clone Clone a field and all its instances. field-create Create fields and instances. Returns urls for field editing. field-delete Delete a field and its instances. field-info View information about fields, field_types, and widgets. field-update Return URL for field editing web page. Project manager commands: (pm) pm-disable (dis) Disable one or more extensions (modules or themes). pm-download (dl) Download projects from drupal.org or other sources. pm-enable (en) Enable one or more extensions (modules or themes). pm-info (pmi) Show detailed info for one or more extensions (modules or themes). pm-list (pml) Show a list of available extensions (modules and themes). pm-refresh (rf) Refresh update status information. pm-releasenotes Print release notes for given projects. (rln) pm-releases (rl) Print release information for given projects. pm-uninstall Uninstall one or more modules. pm-update (up) Update Drupal core and contrib projects and apply any pending database updates (Same as pm-updatecode + updatedb). pm-updatecode (upc) Update Drupal core and contrib projects to latest recommended releases. SQL commands: (sql) sql-cli (sqlc) Open a SQL command-line interface using Drupal's credentials. sql-connect A string for connecting to the DB. sql-drop Drop all tables in a given database. sql-dump Exports the Drupal DB as SQL using mysqldump or equivalent. sql-query (sqlq) Execute a query against the site database. sql-sync Copy and import source database to target database. Transfers via rsync. User commands: (user) user-add-role (urol) Add a role to the specified user accounts. user-block (ublk) Block the specified user(s). user-cancel (ucan) Cancel a user account with the specified name. user-create (ucrt) Create a user account with the specified name. user-information Print information about the specified user(s). (uinf) user-login (uli) Display a one time login link for the given user account (defaults to uid 1). user-password (upwd) (Re)Set the password for the user account with the specified name. user-remove-role Remove a role from the specified user accounts. (urrol) user-unblock (uublk) Unblock the specified user(s). All commands in iq: (iq) iq-apply-patch Look up the most recent patch attached to the specified issue, and apply it to its project. (patch, ap) iq-create-commit-com Create a commit comment for the specified issue number. ment (iqccc, ccc) iq-diff (diff, iqd) Create a diff. iq-info (iqi) Show information about an issue from the queue on drupal.org. iq-reset (reset, Stop working on a patch, and return to the branch point. iqr) Other commands: (drush_make,drush_make_d_o,rebuild_project_paths) convert-makefile Convert the specified makefile to a drupal.org friendly format, and verify the converted file. make Turns a makefile into a working drupal install. make-generate Attempts to generate a makefile from the current Drupal install, specifying project version (generate-makefile) numbers unless not known or otherwise specified. Unversioned projects will be interpreted later by drush make as "most recent stable release" make-test Run a drush make test. rebuild-project-path Rebuilds the system table when you move projects around. s (rpp) verify-makefile Verify the specified makefile is in a drupal.org friendly format. .
-
- Aug 03, 2011
-
-
Moshe Weitzman authored
-
- Jun 29, 2011
-
-
Greg Anderson authored
-
- May 19, 2011
-
-
Jonathan authored
-
- May 01, 2011
-
-
Jonathan authored
-
- Feb 25, 2011
-
-
The Great Git Migration authored
-
- Jan 07, 2011
-
-
Greg Anderson authored
-
- Jan 03, 2011
-
-
Greg Anderson authored
#1011260 by greg.1.anderson: Unify command help so that help options do not begin with '--' in command help.
-
- Dec 30, 2010
-
-
Greg Anderson authored
#1008118 by greg.1.anderson: Standardize on 'return drush_user_abort();' as correct way to stop execution when user cancels
-
- Dec 29, 2010
-
-
Moshe Weitzman authored
-
- Dec 27, 2010
-
-
Moshe Weitzman authored
-
- Dec 24, 2010
-
-
Greg Anderson authored
-
- Dec 05, 2010
-
-
Greg Anderson authored
-
- Oct 28, 2010
-
-
Greg Anderson authored
-
- Oct 05, 2010
-
-
Moshe Weitzman authored
-
- Aug 31, 2010
-
-
Moshe Weitzman authored
-
- Apr 22, 2010
-
-
Moshe Weitzman authored
Replace example.drush.inc with a new sandwich.drush.inc by Owen. Instructions are at the top of the file about how to execute it. Worth a run.
-
- Mar 26, 2010
-
-
Greg Anderson authored
-
- Jan 20, 2010
-
-
Moshe Weitzman authored
-
- Jan 18, 2010
-
-
Moshe Weitzman authored
A little modernizing to example.drush.inc. This is still a woeful introduction to command authoring. Drush is at a point now where it takes a book to explain it. Anyone fancy themselves as an author?
-
- Dec 06, 2009
-
-
Moshe Weitzman authored
-
- Sep 30, 2009
-
-
Moshe Weitzman authored
-
- Sep 21, 2009
-
-
Moshe Weitzman authored
-
- Apr 15, 2009
-
-
Moshe Weitzman authored
Improve readme, example.drush.inc, and example.drushrc.php. These barely scratch the surface of what drush can do, but we aren't novel writers here.
-
- Dec 07, 2008
-
-
Moshe Weitzman authored
-
- Dec 06, 2008
-
-
Moshe Weitzman authored
-