tractr / directus-sync

A CLI tool for synchronizing the schema and configuration of Directus across various environments.
GNU General Public License v3.0
195 stars 7 forks source link

Prettify diff output #71

Open yakubovmax213 opened 3 months ago

yakubovmax213 commented 3 months ago

Hi, diff command is very useful in our team. With it we can easily check what changes will be applied during code review. However, the standard output gives little information about the collections, fields and relationships that have been changed. When using the —debug option it becomes clearer, but it becomes difficult to understand a large json object: IMG_5425

It would be very cool if you could add a short diff output, like in the standard Directus cli command with the --dry-run option Like this: IMG_5426

EdouardDem commented 3 months ago

@yakubovmax213 That's a good point. I will check how Directus implements its pretty print.