shini4i / argo-compare

A comparison tool for displaying the differences between ArgoCD Applications in different Git branches

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ability to use external diff tool

okgolove opened this issue · comments

For example https://github.com/so-fancy/diff-so-fancy
It support unified diff output

That's a good idea. You can try the following approach with 0.0.7 version:
ARGO_COMPARE_DIFF_COMMAND="/usr/bin/diff -u %s %s | diff-so-fancy" argo-compare branch <branch_name>

Although with the tool from the example, you will always get the "renamed: %s to %" output due to the specifics of manifests rendering logic.

Works fine, thanks!