0.2.2 • Published 8 years ago
label-it v0.2.2
label-it

Util for handle labels on json file
Install
$ npm install -g label-itUsage
Add a label
$ label-it add [options] <file> <key> <phrase> Add label with key and phrase to json file
Remove a label
$ label-it del <file> <key> Remove label with key from json file
Files checker
$ label-it check <master> <slave...>Check for duplicated keys within master and slaves
Integrity validation
$ label-it validate [options] <file> Validate json file of similar entries
Formatter
$ label-it format <file> Format json file sorting keys
Finder
$ label-it find [options] <file> <phrase>Find a phrase in a json file
Merge files
$ label-it merge <master> <slave...>Merge keys within master and slaves
Help
To check help information run the following command.
$ label-it helpDevelopment
Instalation
$ npm linkDebug
DEBUG=*:* label-it <command>Single execution test
$ npm testTest-driver development (TDD)
This task watch all javascripts files and breaks on first test failed.
$ npm run tddContinuous Integration
Build
This task does not allow any lint failures (errors & warnings).
$ npm run buildDocumentation
Documentation is generated on yuidocs folder.
$ npm run docsCode Quality
Linting
$ npm run lint0.2.2
8 years ago