Skip to content

hgmelectronics/flatten-include-yaml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

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.

Usage

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.

Options

-o, --output

Specifies the output file to be written. The default is the name of the input file with -flat inserted before the extension; foo.yamlfoo-flat.yaml, bar.ymlbar-flat.yml.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published