This tool is inspired by assetgraph and assetgraph-builder.
wag --inp /Users/mike/test-website/html \--out /Users/mike/test-website/public/optimized \--assets /Users/mike/test-website/public \--cdnroot //cdn.test-website.com
What this does:
public/optimized/directory and empties it
/public/images/dog.pngis re-rewritten to
dog-343e32abce3968feac.pngis re-written to