Skip to content

Commit

Permalink
Add a shell alias example for saving a sanitized DB dump. #551
Browse files Browse the repository at this point in the history
  • Loading branch information
weitzman committed Mar 28, 2016
1 parent dd7e013 commit 0163e6b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/example.drushrc.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@
# $options['shell-aliases']['site-get'] = '@none php-eval "return drush_sitealias_site_get();"';
// Add a 'pm-clone' to simplify git cloning from drupal.org.
# $options['shell-aliases']['pm-clone'] = 'pm-download --gitusername=YOURUSERNAME --package-handler=git_drupalorg';
// Save a sanitized sql dump. Customize alias names and --result-file.
# $options['shell-aliases']['pm-clone'] = 'drush sql-sync @source @temp --sanitize && drush @temp sql-dump --result-file=/example && drush @temp sql-drop';

// Load a drushrc.php configuration file from the current working directory.
# $options['config'][] = './drushrc.php';
Expand Down

0 comments on commit 0163e6b

Please sign in to comment.