productivity
Transifex CLI for Shell Scripts
Use the Transifex CLI for shell scripts with headless JSON commands, schema discovery, credentials, and permission controls.
7 functions 7 read 0 write API token auth
Transifex CLI for Shell Scripts
Call integration functions from shell scripts with stable JSON input and output.
Use shell scripts for small local automations that need one or more integration calls. The Transifex CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.
Command Shape
# Transifex CLI for Shell Scripts
kosmokrator integrations:configure transifex --set api_token="$TRANSIFEX_API_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call transifex.transifex_list_projects '{}' --json Discovery Before Execution
Agents and scripts can inspect Transifex docs and schemas before choosing a function.
kosmo integrations:docs transifex --json
kosmo integrations:docs transifex.transifex_list_projects --json
kosmo integrations:schema transifex.transifex_list_projects --json
kosmo integrations:search "Transifex" --json
kosmo integrations:list --json Useful Transifex CLI Functions
| Function | Type | Parameters | Description |
|---|---|---|---|
transifex.transifex_list_projects | Read | none | List all Transifex projects. Returns project slugs, names, descriptions, and language statistics. |
transifex.transifex_get_project | Read | project_id | Get details of a specific Transifex project including its name, description, source language, and team. |
transifex.transifex_list_resources | Read | project_id | List all resources (source files) in a Transifex project. Returns resource slugs, names, types, and word/string counts. |
transifex.transifex_get_resource | Read | project_id, resource_id | Get details of a specific Transifex resource including its name, type, word count, string count, and translation progress. |
transifex.transifex_list_translations | Read | project_id, resource_id, lang_code | List translations for a specific resource in a Transifex project. Optionally filter by language code. |
transifex.transifex_list_languages | Read | project_id | List all languages configured for a Transifex project. Returns language codes, names, and translation progress. |
transifex.transifex_get_current_user | Read | none | Get information about the currently authenticated Transifex user, including username, email, and account details. |
Automation Notes
- Use
--jsonfor machine-readable output. - Keep credentials out of argv by using environment variables or stored KosmoKrator configuration.
- Configure read/write policy before unattended runs; use
--forceonly for trusted automation. - Use the MCP gateway instead when the agent needs dynamic tool discovery inside a conversation.