# Exports

Copy every decision out of ZeroWidth as one file, with or without the original words.

`export` copies the whole record into one file, one entry per line.

```Terminal
zerowidth export decisions.jsonl --db team.db
```

Add `--withhold` to leave out the original words, keeping the decisions, dates and verdicts.

## Removing words for good

`withhold` drops the words of an excerpt, or of every excerpt a decision quotes, for good. Without `--yes`, `withhold` only lists what would go.

```Terminal
zerowidth withhold <id> --db team.db
zerowidth withhold <id> --db team.db --yes
```

The decision stays, with who made it and when; only the words are gone.

While a copy from before an upgrade sits beside the record, such as `team.db.before-v1`, `withhold --yes` refuses: the copy still holds every word. Delete the copy, or pass `--keep-backup` to withhold anyway and keep it.
