cdk-pretty-diff icon indicating copy to clipboard operation
cdk-pretty-diff copied to clipboard

Pipe in existing diff

Open jesse-peters opened this issue 2 years ago • 1 comments

Is it possible to pipe an existing diff into this and use it to output it a more machine readable format? We use python for cdk with some wrappers, so implementing this into our workflow might be tricky.

jesse-peters avatar Jun 24 '22 18:06 jesse-peters

Unfortunately not possible with the current version of cdk-pretty-diff. It's a good idea, I guess it would need some (probably painful) reverse engineering of the ugly cdk diff back to the raw diff (that feeds into cdk-pretty-diff). I'll take a look at this problem at some point in the future but don't have time presently.

joshweir avatar Jun 27 '22 06:06 joshweir