Socket
Socket
Sign inDemoInstall

config-merge-cli

Package Overview
Dependencies
121
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    config-merge-cli

A json/yaml data/config merge cli tool


Version published
Weekly downloads
5
Maintainers
1
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 18 Dec 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc