Gå til hovedinnhold

kapi exec remove-target

kapi remove-target [files...]

Remove Target

Commandexec remove-target
Try it

Runs in your browser against a small sample file. Edit the command before running, or press Run to execute it as shown.

kapi exec remove-target
Flags
FlagTypeDefaultDescription
--concurrency, -jint0max parallel files (0 = auto)
--encoding, -estringUTF-8input file encoding
--fail-on-unknownboolfalseexit with error if any file cannot be processed (default: skip with warning)
--filter-by-i-dsbooltrueWhen true filter text units by ID; when false filter by target locale
--format, -fstringoverride input format detection
--jsonboolfalseoutput results as JSON
--map, -mstringArraymap glob pattern to format (e.g. '*.docx=okf_openxml:test')
--no-warnboolfalsesuppress warnings for skipped files
--output, -ostringoutput path template (variables: {dir}, {name}, {ext}, {lang})
--output-dirstringwrite outputs under DIR/{lang}/ (default: beside the input, mirroring its locale layout)
--packboolfalsewhen transforming a .kpz, also eject the result to the .kpz (auto-pack)
--parallel-blocksint0fan out block processing across N goroutines (0 = off)
--progress, -pboolfalseshow progress bar
--remove-block-if-emptyboolfalseRemove the text unit entirely if it has no remaining targets after removal
--source-langstringensource language (e.g. en, en-US)
--strictboolfalsealias for --fail-on-unknown
--target-langstringtarget language (e.g. fr, de-DE)
--target-localestringTarget locale to remove (if empty all targets are removed)
--text-unit-i-dsstringComma-delimited list of text unit IDs whose targets should be removed; empty removes all targets
--tracestringwrite flow trace JSON to file (for flow visualization)

← Back to the Command Reference