A simple wrapper for yaml-include
- reads in files using include tags and writes them back out as a flat YAML. It is not necessary to run flatten-include-yaml
from the same directory as the input YAML file; it will temporarily change to that directory while loading.
flatten-include-yaml [options] <input file> ...
Multiple input YAML files can be passed on one command line. Note that this does not make sense with the -o
,--output
option.
Specifies the output file to be written. The default is the name of the input file with -flat
inserted before the extension; foo.yaml
→ foo-flat.yaml
, bar.yml
→ bar-flat.yml
.