Update README and bump version

This commit is contained in:
Kim Biesbjerg 2017-01-13 06:09:43 +01:00
parent c18b7dc9c7
commit 183592acc3
2 changed files with 4 additions and 2 deletions

View File

@ -25,10 +25,12 @@ Usage:
Options: Options:
-d, --dir [DIR] Directory path you would like to extract strings from (Default is current directory) -d, --dir [DIR] Directory path you would like to extract strings from (Default is current directory)
-o, --output [DIR] Directory path you would like to save extracted -o, --output [DIR] Directory path you would like to save extracted
strings (Default is current directory) strings (Default is current directory/template.json)
-f, --format [VALUE] Output format. VALUE must be either [json|pot] (Default is json) -f, --format [VALUE] Output format. VALUE must be either [json|pot] (Default is json)
-r, --replace BOOLEAN Replace the contents of output file if it exists -r, --replace BOOLEAN Replace the contents of output file if it exists
(Merges by default) (Merges by default)
-s, --sort BOOLEAN Sort translations in the output file in alphabetical
order
-c, --clean BOOLEAN Remove obsolete strings when merging -c, --clean BOOLEAN Remove obsolete strings when merging
-h, --help Display help and usage details -h, --help Display help and usage details
``` ```

View File

@ -1,6 +1,6 @@
{ {
"name": "@biesbjerg/ng2-translate-extract", "name": "@biesbjerg/ng2-translate-extract",
"version": "0.3.5", "version": "0.4.0",
"description": "Extract strings from projects using ng2-translate", "description": "Extract strings from projects using ng2-translate",
"main": "dist/index.js", "main": "dist/index.js",
"typings": "dist/index.d.ts", "typings": "dist/index.d.ts",