diff-so-fancy
diff-so-fancy copied to clipboard
Use diff-so-fancy for other command line tools?
First of all, thank you for developing this useful tool.
I was wondering if it is possible to utilize diff-so-fancy
for other command line tools such as helm (in macOS or linux distros) or is it only applicable to git
?
It's only effective for git diff/patch format output from diff or similar - since it works by parsing (and then manipulating) that format; not some sort of heuristic for what can be stripped/coloured in general purpose output.
(But that might be interesting! And error-prone..)
A while back I added unified diff support. Anything that can output unified diffs will probably work with d-s-f. Our primary focus, as @OJFord said is git
as that is the most commonly used tool. I believe there was work done to get it to work with Mercurial too?