List template translation files in a workspace. Returns translation file names and metadata. Use --mode to switch between draft and live versions.
Syntax
suprsend translation list [flags]
Flags
| Flag | Description | Default |
|---|
-h, --help | Show help for the command | – |
-c, --include-content string | Include translation file content in the response (true/false) | false |
-l, --limit int | Maximum number of translations to return | 20 |
-m, --mode string | Version mode: draft or live | live |
-f, --offset int | Number of translations to skip for pagination | 0 |
-o, --output string | Output format: pretty, json, or yaml | pretty |
Use -o json for machine-readable JSON output, -o yaml for YAML. Default -o pretty outputs a human-friendly table.
Example
# List translations in staging workspace (default)
suprsend translation list
# List translations in production workspace
suprsend translation list --workspace production
# List draft translations with limit
suprsend translation list --mode draft --limit 50
# List translations in JSON format
suprsend translation list --output json
# List translations with content included
suprsend translation list --include-content true