jkeys

0.1.8 • Public • Published

Jkeys

Edit multiple json files at the same time

Overview

  • Version 0.1.0

Install


$ npm install -g jkeys

Options

--help, -h

Show availables options

--src, -s

Defines path where the search will be made. All json files in the path will be processed. Actual path wil be used ff not specified.

Example:


jkeys -s languages

--find, -f

Search for a specific key in all the files

Example:


jkeys -s languages -f HELLO

Output:


Key HELLO founded in file languages\en.json : Hello
Key HELLO founded in file languages\es.json : Hola

--add, -a

Add a new key and its content to all the files. If the key already exist, skip or replace options will be prompted.

Example:


jkeys -s languages -a HELLO

MIT LICENSE © 2015 Juan Cruz Talco <juancruztalco@gmail.com>.

Package Sidebar

Install

npm i jkeys

Weekly Downloads

0

Version

0.1.8

License

MIT

Last publish

Collaborators

  • sursonico