Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support outputting "between" to yaml #312

Open
vwbusguy opened this issue Jul 21, 2023 · 1 comment
Open

Support outputting "between" to yaml #312

vwbusguy opened this issue Jul 21, 2023 · 1 comment

Comments

@vwbusguy
Copy link

vwbusguy commented Jul 21, 2023

I have a use-case where I'm looking to simplify Kubernetes helm chart values that have gotten overly verbose. This tool is useful for identifying where to look, but would be most useful if it were possible to output to yaml, only including where from and to are different (picking "to" values in the process).

If it helps, I've found an old php project that does this, but it's for an outdated version of PHP and isn't as comprehensive as your tool is for analyzing the diffs: https://github.com/JanDC/yaml-diff-tool

@vwbusguy vwbusguy changed the title Support outputting differences to yaml Support outputting "between" to yaml Jul 21, 2023
@jmbraben
Copy link

Has there been any consideration of this request?
My use case is to use dyff to identify data that I then migrate back into other yaml files (planning to use yq to do so)...like a selective merge once the data is identified.

...so having a native yaml output would greatly help this. The "human" output is close, but would need some modifications to make it work.
If there is no support (or plan to support), I'll take a look at if I can figure it out myself

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants