diff options
Diffstat (limited to 'bin/json2yaml.rb')
| -rwxr-xr-x | bin/json2yaml.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/json2yaml.rb b/bin/json2yaml.rb new file mode 100755 index 0000000..4f77f8b --- /dev/null +++ b/bin/json2yaml.rb @@ -0,0 +1,6 @@ +#!/usr/bin/env ruby + +require 'json' +require 'yaml' + +puts JSON.parse(ARGF.read).to_yaml |
