EXAMPLES:

  # Single document
  iwe delete document-key

  # Filter-based delete
  iwe delete --filter 'status: archived'

  # Preview matches without deleting
  iwe delete --filter 'status: archived' --dry-run

  # Output affected keys for scripting
  iwe delete --filter 'status: archived' -f keys

REFERENCE HANDLING:

  - Inclusion links to deleted docs are removed entirely.
  - Inline links to deleted docs are converted to plain text.

OUTPUT:

  -f markdown (default): progress messages and updated count.
  -f keys: one affected document key per line (target plus every doc whose
    references were rewritten), suitable for piping.

  --dry-run: shows what would happen without making changes.
