Skip to content

How to get the diff between two CUE files? #725

Answered by cueckoo
cueckoo asked this question in Q&A
Discussion options

You must be logged in to vote

Original reply by @mpvl in cuelang/cue#725 (comment)

This is something that cue trim does. This is also available as a Go package in the repo under tools/trim.

It always good to do a diff of the result as a sanity check. There is also a semantic diff package, but that is as of yet internal. The plan is to expose that though at some point.

Replies: 1 comment

Comment options

cueckoo
Jul 3, 2021
Collaborator Author

You must be logged in to vote
0 replies
Answer selected by cueckoo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant