YAML to XML
This command takes a YAML snippet and converts it into XML.
This is useful for validating and troubleshooting your YAML code.
Usage
The yaml-to-xml command takes two parameters -input and -output
-
--inputis the YAML document to transform -
--outputis the XML document to be created -
--outputfull path is created if it does not exist (likemkdir -p)
You may omit the
--inputor--outputflags to read or write from stdin or stdout
Examples
Below are a few examples for using the yaml-to-xml command.
From a file
Reading input redirected from a file
From stdin
Reading input from stdin directly
From a process
Reading input piped from another process