1.0.0 • Published 9 years ago

json-merge-cli v1.0.0

Weekly downloads
124
License
ISC
Repository
-
Last release
9 years ago

json-merge-cli

JSON merge CLI tool is used for merging JSON file with custom params via cli.

Installing

npm install json-merge-cli -g

Usage

Source file some.json

{
  "file": "some.json",
  "test": "yes"
}
json-merge-cli --src some.json --dest .some.json --params.test no --params.other.test yes

Output file .some.json

{
  "file": "some.json",
  "test": "no",
  "other": {
    "test": "yes"
  }
}