Sign inSign up

ailispaw/yaml2bash

By ailispaw

•Updated over 9 years ago

Converts YAML to Bash variables

Image
0

4.4K

ailispaw/yaml2bash repository overview

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

Tag summary

Content type

Image

Digest

Size

44.6 kB

Last updated

over 9 years ago

docker pull ailispaw/yaml2bash