# `mix contacts_per_domain_cap`
[🔗](https://github.com/jaizendra-netizen/contacts_per_domain_cap/blob/main/lib/mix/tasks/contacts_per_domain_cap.ex#L1)

Usage: `mix contacts_per_domain_cap contacts.csv [--cap 3] [--out kept.csv]`

CSV columns: contact_id, email. `--cap` is an integer of 1 or more (default 3, set by you).
`--out FILE` writes contact_id, email, domain, decision (keep or over cap) in input order.
Exit code 0 on success, 2 when the input cannot be read or the arguments are wrong.
Background: https://www.onegtmlab.dev/tool-directory/sourcing/zoominfo

# `execute`

```elixir
@spec execute([String.t()]) :: {:ok, 0, String.t()} | {:error, String.t()}
```

Run the tool. Returns `{:ok, 0, output}` or `{:error, message}`.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
