https://github.com/ailispaw/yaml2bash
$ docker run -i --rm ailispaw/yaml2bash -h
yaml2bash v0.9.4
Usage: /yaml2bash [-m] [-p <prefix>] [<filename>] [-v] [-h]
Options:
-m : handle as a file contains multiple documents
-p <prefix> : specify a prefix for variables, or "Y2B" by default
<filename> : specify a YAML file to parse, or it will wait for stdin
-v : show the current version and exit
-h : show this help message and exit
$ docker run -i --rm ailispaw/yaml2bash < yaml.yaml
Content type
Image
Digest
Size
44.6 kB
Last updated
over 9 years ago
docker pull ailispaw/yaml2bash