Drush DOM Tree
Component ID
1994332
Component name
Drush DOM Tree
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Component created
Component changed
Component body
This is a response to http://groups.drupal.org/node/298298 where Twig testing is needed.
As we have Drush why not add a DOM tree fetcher to the toolkit?
So here it is
drush @drupal.d8 --user=admin dom-get admin --file=/tmp/admin.d8.xml
Script
By running the script with just 1 argument you can grab any page as user admin on 'branch' 8.x
Later on you may diff the files
diff
--width=200
--suppress-common-lines
--side-by-side
$FILE_1
$FILE_2
or use your local visual diff tool like on Mac OSX
opendiff $FILE_1 $FILE_2
