$ yaml-to-dhall example/example.yaml | dhall-format
{ apiVersion =
"v1"
, kind =
"Service"
, spec =
{ selector =
{ app = "MyApp" }
, ports =
[ { targetPort = 80.0, protocol = "TCP", port = 80.0 } ]
}
, metadata =
{ name = "my-service" }
}
matsubara0507 / yaml-to-dhall Goto Github PK
View Code? Open in Web Editor NEWRoughly implement CLI tool to convert YAML to Dhall
License: MIT License