Skip to content

feat: Add yaml-diff output format#606

Open
Shavell wants to merge 1 commit into
homeport:mainfrom
Shavell:feature/yaml-diff
Open

feat: Add yaml-diff output format#606
Shavell wants to merge 1 commit into
homeport:mainfrom
Shavell:feature/yaml-diff

Conversation

@Shavell
Copy link
Copy Markdown

@Shavell Shavell commented Feb 14, 2026

This PR adds a new --output yaml-diff option that outputs only the differences between two YAML files as a valid YAML document.
Changes

  • Added new YAMLDiffReport in pkg/dyff/output_yaml_diff.go
  • Updated internal/cmd/common.go to support the new output style
    Usage
    dyff between --output yaml-diff values.yaml values-2.yaml
    Example Output
   auth:
     adminPassword: "admin123"
   nameOverride: "exampleapp"
   postgresql:
     auth:
       postgresPassword: "admin123"
   tls:
     enabled: true

@Shavell Shavell changed the title Add yaml-diff output format feat: Add yaml-diff output format Feb 24, 2026
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

Successfully merging this pull request may close these issues.

1 participant