kapi memory export
kapi exportExport the content memory to TMX 1.4 (default) or the native .memory.json bundle.
TMX: each entry is written as a single <tu> with one <tuv> per language variant present (or the subset requested via --locales). Inline markup is preserved as TMX <ph>/<bpt>/<ept>/<it>/<hi>. TMX is the lossy interchange tier — entity mappings, provenance origins, properties, and notes are dropped.
bundle (--format bundle, or a -o path ending in .memory.json): the deterministic, lossless native serialization — the right form for committing a content memory to git and for seeding a fresh content memory exactly. It stays plain JSON, so it reviews line by line in a diff. --locales does not apply.
Runs in your browser against a small sample file. Edit the command before running, or press Run to execute it as shown.
kapi memory export| Flag | Type | Default | Description |
|---|---|---|---|
| --file | string | explicit path to resource file | |
| --format | string | auto | output format (auto, tmx, bundle); auto selects by the -o extension |
| --local | bool | false | use resource in current directory |
| --locales | string | comma-separated locale subset (default: all variants present) | |
| --name | string | named resource in KAPI_HOME (e.g. --name project-terms) | |
| --output, -o | string | output file (default: stdout) |
← Back to the Command Reference