arb_utils
arb_utils copied to clipboard
feat: check duplicated values
Overview
Add check command and duplicates sub command to find duplicated values.
Use Case
Large arb file or many arb files make difficult to find duplicated values. To find them easily, add the commands on arb_utils.
Review Points
- Add
duplicatescommand as sub command to make easy to add another commands oncheckcommand. - Add exit function when the command causes error to stop workflow on CI and make check not pass on GitHub.
- To simplify, not check values which contain placeholders and keys which contain special attributes beginning from
@@, at first.
@Rodsevich Please review my ideas and codes.
Hey @ronnnnn ! I'll happily do this today. Thanks for the PR!
@Rodsevich Thank you for your reviews and quick response. I update codes and docs from your advices.
I agree with your approach. I'll try to make foundational feature (supporting only duplicated values). Thank you a lot for your advices.