@foxythemes/jsonkey-update-cli

Update a key on JSON file

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
00Feb 21, 2018Feb 21, 2018Minified + gzip package size for @foxythemes/jsonkey-update-cli in KB

Readme

jsonkey-update-cli

This is a JSON key-update CLI, useful when you need update a key in a JSON file, getting it of other JSON file.

Getting Started

  • Install with npm: npm install @foxythemes/jsonkey-update-cli -D
  • Run it with keyupdate

Docs

keyupdate -s src-path-giver/ -f file-giver.json -S src-path-receiver/ -F file-receiver.json -k keyToUpdate

Basic options

-s, --srcGiver       Source path of JSON file giver
-f, --fileGiver      Name of JSON file from where key will be get
-S, --srcReceiver    Source path of JSON file receiver
-F, --fileReceiver   Name of JSON file where key will be set
-k, --key            Key that will be updated on JSON file receiver

License

Copyright (c) FoxyThemes Licensed under the MIT license.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.