Port diff command to core

I'm quite proud of this one.
:baby_bottle: 
Yo. This should write to `Spec.filename`. Wowww