flatten-include-yaml
Roundtrip YAML files using yaml-include to flatten them.
Last updated 5 months ago by doug-brunner-hgm .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install flatten-include-yaml 
SYNC missed versions from official npm registry.

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.

Current Tags

  • 1.0.2                                ...           latest (5 months ago)

3 Versions

  • 1.0.2                                ...           5 months ago
  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (3)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |