VibeHunt
Back to browse

dyff

YAML diff tool.

Source

dyff is a command‑line utility that compares YAML files, and occasionally JSON, presenting differences in a compact, location‑based format. It references each change using either Spruce dot‑style paths or go‑patch style paths, preserving the original order of keys in maps. Input can be local files, remote URIs, or standard input, and the tool can also convert between YAML and JSON while maintaining key ordering.

The program is suited for developers and operators who need clear, minimal diff output for configuration files, such as Kubernetes resources, Cloud Foundry deployment manifests, or any YAML‑based configuration managed in version control. It integrates with tools like kubectl and Git by acting as an external diff command, and it supports exit‑code signaling to indicate the presence or absence of differences.

Additional functionality includes restructuring map key order for readability and performing in‑place rewrites of files. dyff is distributed as a stable CLI and is available for installation from standard package repositories.

Reviews

Sign in to leave a review.

Loading reviews…

Similar apps