Skip to content

Instantly share code, notes, and snippets.

@tuxfight3r
Created July 11, 2020 11:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tuxfight3r/90b3dea1b7996dd2e68bb76e7c35af2b to your computer and use it in GitHub Desktop.
Save tuxfight3r/90b3dea1b7996dd2e68bb76e7c35af2b to your computer and use it in GitHub Desktop.
ruby diff 2 yaml files and awesome print
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