Skip to content

Latest commit

 

History

History
18 lines (16 loc) · 419 Bytes

README.md

File metadata and controls

18 lines (16 loc) · 419 Bytes

env-replace

Replace values in YAML files with environment variables.

Usage

key:
    test:
        - path: ${HOME}

Running the given file through env replace using env-replace -i test.yaml should result in:

key:
    test:
        - path: /home/user
---

The result is written to stdout by default but an output file may be specified using env-replace -i <input file> -o <output file>.