Utility or Script to view difference between two environments in a space

Wanted to know if there is any Utility or Script to view difference between two environments in a space. Like for e.g we have “master” and one “feature” environment. I am making some content model changes in “feature” and want to merge to “master”. But before that, I want to compare with “master” and make sure, nothing new update happened to that particular content model in “master”.

Quick & dirty way of doing it would be to export the content models of both environments as JSON using Contentful CLI and comparing the two files with diff.

thanks…For seeing the difference, is there any command. When I do, contentful --help , i don’t see any option for diff

@mainak4u.007 diff is not a function of the Contentful CLI. It is a command that comes built-in in most Unix-like operating systems such as Linux or macOS.

oh ok… I am aware of diff in Unix-like OS… Just though of checking if contenful CLI has some command to view the difference in more organized way