High-performance CLI for code-based i18n management. Built with Rust for maximum speed and reliability.
- 🚀 Lightning-fast Rust implementation
- 🔍 Batch code scanning and key collection
- 🛠️ Automatic generation of translation files
- ⚡ Modern SWC-based parsing, async processing
git clone https://github.com/NuclEnergy/t-cli.git
cd t-cli
cargo install --path .Or for local development:
cargo build --releaseGenerate an initial t.config.ts file:
t-cli initScan your codebase and collect all t function keys:
t-cli collectGenerate translation files and TypeScript index from collected keys:
t-cli generateTip:
Runt-cli --helpfor all available options and flags.
- Rust 1.80+
- Cargo
cargo build --release-
Which languages and frameworks are supported?
Any language defined in config; best used with React/Next.js/TypeScript projects. -
Is performance an issue on large codebases?
t-cli is optimized for speed with async/multithreaded processing. File issues if you hit a bottleneck.
MIT. See LICENSE for details.