Skip to content
This repository has been archived by the owner on Apr 6, 2022. It is now read-only.

Latest commit

 

History

History
18 lines (17 loc) · 309 Bytes

README.md

File metadata and controls

18 lines (17 loc) · 309 Bytes

yaml-to-dhall

$ 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" }
}