AppThreat / AppThreat/custom-json-diff

Diff-feedback/exit-code on cl

Offen
#47 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
0
Forks
0
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.