CLI Reference
Commands
All CLI commands, flags, and exit codes. Install the CLI with npm install -g pronto-cli.
pronto init
Scan the current project for translatable strings and generate a pronto.config.json. Detects your framework automatically. Run once per project.
Flags
--framework <name>Override framework detection (nextjs, vue, wordpress, webflow, etc.)--locales-dir <path>Override where locale files are written(default: ./public/locales)--source-locale <lang>Source language code(default: en)--dry-runPrint discovered strings without writing configExit Codes
0Success1No translatable strings found2Framework not recognized — use --frameworkExample
pronto translate
Translate strings that changed since the last run. Shows cost estimate before proceeding. Uses your Pronto translation memory to skip previously translated strings.
Flags
--target <langs>Comma-separated target language codes (e.g. es,ja,fr)(default: from config)--allRe-translate all strings, not just changed ones--auto-approveSkip the cost confirmation prompt (useful for CI)--dry-runShow what would be translated without making API calls--model <model>Translation model to use(default: pronto-v2)Exit Codes
0Success — all strings translated1Authentication error — run pronto login2Insufficient words remaining on plan3Aborted by user at cost confirmationExample
pronto status
Show the translation status of your project: how many strings are translated, stale, or missing for each target locale.
Flags
--locale <lang>Show status for a single locale only--jsonOutput machine-readable JSONExit Codes
0All locales up to date1Stale or missing translations existExample
pronto whoami
Print the currently authenticated account and plan details.
Exit Codes
0Authenticated1Not authenticated — run pronto loginExample
pronto login
Authenticate with your Pronto account. Opens a browser window for OAuth. The token is stored in ~/.pronto/credentials.
Flags
--token <token>Authenticate with a pre-generated API token (for CI environments)Exit Codes
0Authentication successful1Authentication failed or cancelledExample
pronto logout
Remove stored credentials from the local machine.
Exit Codes
0Credentials removedExample