AppThreat / AppThreat/custom-json-diff

Diff-feedback/exit-code on cl

Aperta
#47 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
0
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.