{"repo":"homeport/dyff","free":true,"listed":false,"github":"https://github.com/homeport/dyff","clone":"git clone https://github.com/homeport/dyff.git","description":"/ˈdʏf/ - diff tool for YAML files, and sometimes JSON","language":"Go","stars":1872,"topics":["yaml","diff","json","yaml-files","yaml2json","json2yaml","go-patch","spruce","bosh","dyff"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"δyƒƒ /ˈdʏf/ Description A diff tool for YAML files, and sometimes JSON. dyff is inspired by the way the old BOSH v1 deployment output reported changes from one version to another by only showing the parts of a YAML file that change. Each difference is referenced by its location in the YAML document by using either the Spruce dot-style syntax ( some.path.in.the.file ) or go-patch path syntax ( /some/name=path/in/the/id=file ). The output report aims to be as compact as possible to give a clear and simple overview of the change. Similar to the standard diff tool, it follows the principle of describing the change by going from the from input file to the target to input file. Input files can be local files (filesystem path), remote files (URI), or the standard input stream (using - ). All orders of keys in hashes are preserved during processing and output to the terminal, most notably in the sub-commands to convert YAML to JSON and vice versa. Command documentation See command documentation for details about each command and its flags. Use cases and examples - Show differences between the live configuration of Kubernetes resources and what would be applied ( kubectl version = v1.20.0 ): The --set-exit-code flag is required so that the dyff exit code matches kubectl expectations. An exit code 0 refers to no differences, 1 in case differences are detected. Other exit codes are treated as program issues. Note: Versions of kubectl older than v1.20.0 did not split the environment vari","default_branch":null,"files":null,"tree":[],"storefront":"/r/homeport","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/homeport/dyff/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}