drush.html 526 B

12345678910111213
  1. There are some Drush commands available for Views, initially added in <a href="http://drupal.org/node/1079178">Drush command to revert views</a>:
  2. <ul>
  3. <li>views-dev (vd) - Setup the views settings to a more developer oriented value</li>
  4. <li>views-revert (vr) - Revert overridden views to their default state. Make backups first!</li>
  5. </ul>
  6. Examples:
  7. drush views-revert
  8. [prompts the user with a list of overridden views to choose from, or to revert all]
  9. drush views-revert archive myview2
  10. [reverts the two specified views]