config-merge-cli

0.0.4 • Public • Published

A simple json/yaml agnostic CLI merge tool

Utilizes merge-config for combining json and yaml files

write-data is used as a simple, extension-agnostic config export library.

Usage
  $ combine-config <paths> -d output/path.json (or .yaml)

  - Each successive path's files override the ones before it.
  - Files from directories are combined alphabetically and, currently, non-recursively.
  - Does not accept glob paths such as **/*

Options
  --destination, -d:  A single output path, './config.json' by default.
    You can specify .yaml, .yml or .json as an extension.

  --verbose, v: Verbose output

Examples
  $ combine-config /path/to/config path/to/config.json -d config.yaml

    combine-config - wrote config to <cwd>/config.yml

Dependencies (4)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i config-merge-cli

    Weekly Downloads

    2

    Version

    0.0.4

    License

    MIT

    Last publish

    Collaborators

    • acao