关于 intlayer-cli
intlayer-cli 是用于管理 Intlayer 词典和配置的命令行工具,面向处理本地化内容的项目。它提供词典构建、翻译审计、同步、远程拉取与推送等命令。
主要功能
- 01构建 Intlayer 词典
- 02审计缺失翻译
- 03实时同步词典
- 04从远程来源拉取或推送词典
- 05测试词典并从组件提取内容
适用场景
- 01构建项目所需的词典
- 02检查词典中的缺失翻译
- 03与远程来源同步词典
- 04从组件内容生成词典条目
安装
复制下面的命令,在终端中运行。
$
npx skills add https:/ / github.com/ aymericzip/ intlayer-skills --skill intlayer-cli安装后在 Claude Code 中输入/intlayer-cli确认已加载。
包含的文件
除 SKILL.md 外,安装时一起下载的参考资料和脚本。
LICENCE.mdreferences/concept_cli_build.mdconcept_cli_ci.mdconcept_cli_configuration.mdconcept_cli_debug.mdconcept_cli_doc-review.mdconcept_cli_doc-translate.mdconcept_cli_editor.mdconcept_cli_extract.mdconcept_cli_fill.mdconcept_cli_init.mdconcept_cli_list-projects.mdconcept_cli_list.mdconcept_cli_live.mdconcept_cli_login.mdconcept_cli_pull.mdconcept_cli_push.mdconcept_cli_sdk.mdconcept_cli_test.mdconcept_cli_version.mdconcept_cli_watch.mdconcept_cli.mdpackages_intlayer-cli_exports.md详细介绍
Intlayer CLI
intlayer-cli 包提供了一组用于管理 Intlayer 词典和配置的命令。
安装
npm install intlayer-cli
主要 CLI 命令
| 命令 | 描述 |
|---|---|
npx intlayer build | 构建 Intlayer 词典。 |
npx intlayer audit | 检查词典中是否缺少翻译。 |
npx intlayer live-sync | 实时同步词典。 |
npx intlayer pull | 从远程来源(例如 Intlayer CMS)拉取词典。 |
npx intlayer push | 将词典推送到远程来源。 |
npx intlayer test | 对词典运行测试。 |
npx intlayer extract | 从组件中提取内容以创建词典。 |
参考资料
概念
软件包
评论
支持 Markdown