Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prettify diff output #71

Open
yakubovmax213 opened this issue May 16, 2024 · 1 comment
Open

Prettify diff output #71

yakubovmax213 opened this issue May 16, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@yakubovmax213
Copy link

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
Copy link
Member

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

@EdouardDem EdouardDem added the enhancement New feature or request label Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants