~singpolyma/dhall-ruby

dhall-ruby/bin/yaml-to-dhall -rwxr-xr-x 170 bytes
7b768e2bStephen Paul Weber Fix map decode when transform_keys is not to_s 7 months ago
                                                                                
1
2
3
4
5
6
7
8
#!/usr/bin/ruby
# frozen_string_literal: true

require "dhall"
require "yaml"
using Dhall::AsDhall

STDOUT.write(YAML.safe_load(STDIN.read, [Symbol]).as_dhall.to_binary)