@i18ncloud/cli
v1.1.11
Published
The i18ncloud CLI helps you integrate `i18ncloud` easily. Using the CLI you can add `i18ncloud` to your application and synchronize your data with a git like feel.
Downloads
10
Readme
i18ncloud CLI
The i18ncloud CLI helps you integrate i18ncloud
easily.
Using the CLI you can add i18ncloud
to your application and synchronize your data with a git like feel.
Installation
npm install @i18ncloud/cli -g
npm install @i18ncloud/react
i18ncloud init
i18ncloud init
Adds i18ncloud to your project.
It will create:
- .18ncloud - file with your i18ncloud project configuration
- i18n - folder with your language files and index.js file with the i18next configuration
i18ncloud push
Saves your local configuration to the cloud.
This will overwrite your cloud data.
i18ncloud pull
Fetches the data saved in the cloud.
This will overwrite your local data.
i18ncloud language
Add a new language to the app.
This action is performed localy, to save it to the cloud use i18ncloud push
i18ncloud key
Add a new key across all languages.
This action is performed localy, to save it to the cloud use i18ncloud push