A CLI utility to maintain your INTL JSON files
npm install @psycle/intl-maintainerEasy update for your INTL files
```
npx @psycle/intl-maintainer
| Command | Description |
| --------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
| help | Shows an help message |update [options]
| | Extract keys from source files and update destination files prompting the user to input translations |
| Options | Description |
| ----------------- | ------------------------------------------ |
| -d, --dry-run | Run the command without touching the files |--output-to-cli
| | Print the command output to the CLI |
| Parameters | Description |
| ------------------- | ---------------------------------- |
| | Source file for translations |
| | Destination files for translations |
``
yarn build
You can test the tool by running :
``
yarn use
or
```
npx ts-node src/index.ts
- [ ] More unit tests
- [ ] Integration tests
- [ ] Use Format.JS Node API to compile messages
- [ ] Use prompt to allow user to write new translations in the CLI
- [ ] Use Format.JS Node API to check messages syntax