4i18n-cli 中文文档教程
用于操作 4i18n 翻译消息的 CLI
Overview
4i18n
是一个 CLI 实用程序,有助于使用 4i18n 服务器进行翻译标签操作。
Features
- To Be Added
- Sub feature
Installation
npm install --save-dev 4i18n-cli
Important notes
- you will need
node@14+
to run it properly
Development
在开发模式下,只需执行:
npm run start -- [command] [options]
例如:
npm run start -- --help download
Release process
要发布一个版本,可以先在存储库上创建一个标签。 你有这个实用程序:
npm run create-tag 1.0.0
这将准备具有新版本号的 package*.json
文件,创建一个标签然后推送它
然后,一旦完成,创建一个发布在 Github 中并发布它:一旦发布,一个 github 操作 将触发构建并将包发布到 npm 注册表中。
Usages
Use case 1
呜呜呜呜呜呜呜呜呜
Use case 2
呜呜呜呜呜呜呜呜呜呜呜呜呜呜呜呜呜呜呜呜呜呜呜呜呜呜呜呜
CLI to manipulate 4i18n translation messages
Overview
4i18n
is a CLI utility facilitating labels manipulation for translation with a 4i18n server.
Features
- To Be Added
- Sub feature
Installation
npm install --save-dev 4i18n-cli
Important notes
- you will need
node@14+
to run it properly
Development
In dev mode, simply execute :
npm run start -- [command] [options]
For example :
npm run start -- --help download
Release process
To release a version, can create a tag on the repository first. You have utility for this :
npm run create-tag 1.0.0
This is going to prepare package*.json
file with the new version number, create a tag then push it
Then, once done, create a release in Github and publish it : once published, a github action will trigger which will build and publish the package into npm registry.
Usages
Use case 1
blah blah blah
Use case 2
blah blah blah
你可能也喜欢
- 2stools-daq 中文文档教程
- @0x-klaytn/json-schemas 中文文档教程
- @16patsle/termlist-auth-ui 中文文档教程
- @3asoft/web-crypto-ts 中文文档教程
- @51npm/freedom-middleware-mock2easy 中文文档教程
- @7inch/create-7inch-app 中文文档教程
- @abartolo/react-plaid-link 中文文档教程
- @abc.xyz/drop-down-treeview 中文文档教程
- @abcpros/minimal-xpi-slp-wallet 中文文档教程
- @abdellah-alaoui/do 中文文档教程