🧰 Intlify CLI
CLI Tooling for i18n development
💿 Installation
npm
npm install -g @intlify/cliyarn
yarn global add @intlify/cliyarn
yarn global add @intlify/cli🌟 Features
- the i18n resources compilation
- the attributes annotation for i18n custom block
- the i18n custom block formatting
🚀 Usage
Usage: intlify <command> [options]
Commands:
intlify compile compile the i18n resources [aliases: cp]
intlify annotate annotate the attributes [aliases: at]
intlify format format for single-file components [aliases: ft]
Options:
--help Show help [boolean]
--version Show version number [boolean]🙈 Ignoring
For annotate or format commands, you can ignore with using .intlifyignore or --ignore for files passed at the end of the options or --source option
.intlifyignore
To exclude files from iles passed at the end of the options or --source option, create a .itnlifyignore file in the root of your project. .intlifyignore uses gitignore syntax.
example: