Skip to content

Conversation

ErikDanielsson
Copy link
Contributor

Add git style diff between expected output and actual formatter output. I've added the package java-diff-utils to the dependencies, which seems to be well maintained. The printer uses ANSI color codes for rendering -- there might very well be a cleaner way of printing output with colors in Java.

@ewels
Copy link
Member

ewels commented Aug 22, 2025

Awesome! Note that we have diff output from Nextflow already, in the lineage commands. I looked into this a bit a few months ago, I think that in the end the recommended route was to keep it uncoloured and then pipe into 3rd party viewers.

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.

2 participants