Util for handle labels on json file
Run the follow comand:
$ npm install -g label-it
$ label-it add [options] <file> <key> <phrase>
Add label with key and phrase to json file
$ label-it del <file> <key>
Remove label with key from json file
$ label-it check <master> <slave...>
Check for duplicated keys within master and slaves
$ label-it validate [options] <file>
Validate json file of similar entries
$ label-it format <file>
Format json file sorting keys
$ label-it find [options] <file> <phrase>
Find a phrase in a json file
$ label-it merge <master> <slave...>
Merge keys within master and slaves
To check help information run the following command.
$ label-it help
$ npm link
DEBUG=*:* label-it <command>
$ npm test
This task watch all javascripts files and breaks on first test failed.
$ npm run tdd
This task does not allow any lint failures (errors & warnings).
$ npm run build
Documentation is generated on yuidocs
folder.
$ npm run docs
$ npm run lint
If you want to contribute to this addon, please read the CONTRIBUTING.md.
We use SemVer for versioning. For the versions available, see the tags on this repository.
See the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details