@@ -91,7 +91,7 @@ in deployment
9191We then run this through ` dhall-to-yaml ` to generate our Kubernetes definition:
9292
9393``` bash
94- dhall-to-yaml --omitEmpty < examples/deploymentSimple.dhall
94+ dhall-to-yaml --omit-empty < examples/deploymentSimple.dhall
9595```
9696
9797And we get:
@@ -139,7 +139,7 @@ Things to note in the following example:
139139 them over the list of services.
140140- we also defined the list of ` services ` inline, but you should instead return the
141141 ` mkIngress ` function instead of applying it, so you can do something like
142- ` dhall-to-yaml --omitEmpty <<< "./mkIngress.dhall ./myServices.dhall" `
142+ ` dhall-to-yaml --omit-empty <<< "./mkIngress.dhall ./myServices.dhall" `
143143
144144``` dhall
145145-- examples/ingress.dhall
@@ -226,7 +226,7 @@ in mkIngress services
226226As before we get the yaml out by running:
227227
228228``` bash
229- dhall-to-yaml --omitEmpty < examples/ingress.dhall
229+ dhall-to-yaml --omit-empty < examples/ingress.dhall
230230```
231231
232232Result:
@@ -275,7 +275,7 @@ If the objects have the same type, this is very easy: you return a Dhall list co
275275objects, and use the ` --documents ` flag, e.g.:
276276
277277``` bash
278- dhall-to-yaml --documents --omitEmpty <<< " let a = ./examples/deploymentSimple.dhall in [a, a]"
278+ dhall-to-yaml --documents --omit-empty <<< " let a = ./examples/deploymentSimple.dhall in [a, a]"
279279```
280280
281281If the objects are of different type, it's not possible to have separate documents in the same YAML file.
0 commit comments