Update README and bump version
This commit is contained in:
parent
c18b7dc9c7
commit
183592acc3
@ -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
|
||||||
```
|
```
|
||||||
|
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user