+
Skip to content

Conversation

tonur
Copy link

@tonur tonur commented Aug 26, 2025

Closes #525

This pull request introduces a new option for generating simplified list diffs and refactors the comparison logic for named lists to improve determinism and flexibility. It also adds a utility for comparing YAML nodes, and makes some targeted improvements to output formatting and CLI options.

Feature: Simple List Diff Option

  • Added a new CLI flag --simple-list-diff (and corresponding field in reportConfig) to allow users to toggle between detailed per-entry diffs and a simple overview (added/removed) for named lists. The flag is wired through the CLI, configuration, and core comparison logic. [1] [2] [3] [4] [5] [6]

Output: Diff Formatting Enhancements

  • Enhanced the diff syntax output to optionally show only changed lines for modifications when the appropriate flag is set, and improved output formatting for additions by using the correct indentation. [1] [2] [3] [4]

@tonur
Copy link
Author

tonur commented Aug 26, 2025

Waiting for #527 to be completed before this is implemented.

@tonur tonur changed the title Add simple output to allow consitent machine readable output feat: Add simple output to allow consitent machine readable output Aug 26, 2025
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.

[BUG] dyff between command is non deterministic and uses 2 different styles randomly

1 participant

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载