Skip to content

dorianmariecom/dorian-yaml-compare

Repository files navigation

dorian-yaml-compare

Compare keys and string leaves between two YAML files.

Install

gem install dorian-yaml-compare

Also included in the aggregate gem:

gem install dorian

Usage

yaml-compare file1.yml file2.yml [root1 root2]

Run yaml-compare -h for generated option details and yaml-compare -v for the installed version.

Notes

  • Useful for locale files. Prints missing keys or type mismatches to stderr and exits non-zero when differences are found.

Examples

Compare locale roots

yaml-compare config/locales/en.yml config/locales/fr.yml en fr

About

No description, website, or topics provided.

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors