Created
July 11, 2020 11:00
-
-
Save tuxfight3r/90b3dea1b7996dd2e68bb76e7c35af2b to your computer and use it in GitHub Desktop.
ruby diff 2 yaml files and awesome print
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ruby -rhashdiff -rawesome_print -ryaml \ | |
-e "ap HashDiff.diff(*ARGV.map{|f| YAML.load_file(f)})" template.yaml processed.yml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment