# npm
npm i typeI18n
# or yarn
yarn add typeI18n
typeI18n <directory> [options]
example:
typeI18n locales -o locales.ts
option | description | type | default |
---|---|---|---|
--target, -t | generate targets | Enum { resource , provider } |
provider |
--output, -o | output to filepath | String | undefined |
--watch, -w | watch input files change | Boolean | false |
--color | colorful print if no output provide | Boolean | true |
--version, -v | show ts-creator versions | Boolean | false |
--help, -h | show helper | Boolean | false |