lazylocales CLI is the primary way to interact with LazyLocales. It handles authentication, source file management, translation triggering, and locale file downloads.
Installation
npx:
Commands
| Command | Description |
|---|---|
translate | Push source, translate, and pull locale files |
push | Push the source locale file to LazyLocales |
pull | Download translated locale files |
status | Show translation coverage for all locales |
login | Authenticate with LazyLocales |
logout | Clear stored credentials |
whoami | Show the currently logged-in user |
Global options
All commands support these flags:| Flag | Description |
|---|---|
--help | Show help for a command |
--version | Show the installed CLI version |
Authentication
The CLI uses your login session by default. Credentials are stored in~/.config/lazylocales/.
For CI/CD environments, set an apiToken in your configuration file instead. See CI/CD Setup for details.