AppThreat / AppThreat/custom-json-diff

Diff-feedback/exit-code on cl

Open
#47 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Would it be possible to add some sort of feedback (eg with an exit-code) when there are differences between the input-files?

At the moment, cjd generates some output, which must then be manually checked for differences. For usage in eg CI, it would be very useful to have cjd return an exit-code or some other feedback when differences are found.
I've seen there are already some exit-codes, so it would probably have to be a different one to be able to differentiate between an actual error and a diff.

Another idea would be to maybe return (stdout) the number of differences found.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.