summaryrefslogtreecommitdiff
path: root/sites/all/modules/views/help/drush.html
blob: 689ff3391ec0c5d51c8b1ccfbfa365a5355052c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
There are some Drush commands available for Views, initially added in <a href="http://drupal.org/node/1079178">Drush command to revert views</a>:

<ul>
<li>views-dev (vd) -  Setup the views settings to a more developer oriented value</li>
<li>views-revert (vr) - Revert overridden views to their default state. Make backups first!</li>
</ul>

Examples:
drush views-revert
[prompts the user with a list of overridden views to choose from, or to revert all]

drush views-revert archive myview2
[reverts the two specified views]