AppThreat / AppThreat/custom-json-diff

Diff-feedback/exit-code on cl

未关闭
#47 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
0
派生
0
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。