|
| 1 | +# `gog contacts dedupe` |
| 2 | + |
| 3 | +> Generated from `gog schema --json`. Do not edit this page by hand; run `make docs-commands`. |
| 4 | +
|
| 5 | +Find likely duplicate contacts (preview only) |
| 6 | + |
| 7 | +## Usage |
| 8 | + |
| 9 | +```bash |
| 10 | +gog contacts (contact) dedupe [flags] |
| 11 | +``` |
| 12 | + |
| 13 | +## Parent |
| 14 | + |
| 15 | +- [gog contacts](gog-contacts.md) |
| 16 | + |
| 17 | +## Flags |
| 18 | + |
| 19 | +| Flag | Type | Default | Help | |
| 20 | +| --- | --- | --- | --- | |
| 21 | +| `--access-token` | `string` | | Use provided access token directly (bypasses stored refresh tokens; token expires in ~1h) | |
| 22 | +| `-a`<br>`--account`<br>`--acct` | `string` | | Account email for API commands (gmail/calendar/chat/classroom/drive/docs/slides/contacts/tasks/people/sheets/forms/appscript/ads) | |
| 23 | +| `--client` | `string` | | OAuth client name (selects stored credentials + token bucket) | |
| 24 | +| `--color` | `string` | auto | Color output: auto\|always\|never | |
| 25 | +| `--disable-commands` | `string` | | Comma-separated list of disabled commands; dot paths allowed | |
| 26 | +| `-n`<br>`--dry-run`<br>`--dryrun`<br>`--noop`<br>`--preview` | `bool` | | Do not make changes; print intended actions and exit successfully | |
| 27 | +| `--enable-commands` | `string` | | Comma-separated list of enabled commands; dot paths allowed (restricts CLI) | |
| 28 | +| `--fail-empty`<br>`--non-empty`<br>`--require-results` | `bool` | | Exit with code 3 if no duplicates | |
| 29 | +| `-y`<br>`--force`<br>`--assume-yes`<br>`--yes` | `bool` | | Skip confirmations for destructive commands | |
| 30 | +| `--gmail-no-send` | `bool` | false | Block Gmail send operations (agent safety) | |
| 31 | +| `-h`<br>`--help` | `kong.helpFlag` | | Show context-sensitive help. | |
| 32 | +| `-j`<br>`--json`<br>`--machine` | `bool` | false | Output JSON to stdout (best for scripting) | |
| 33 | +| `--match` | `string` | email,phone | Match fields: email,phone,name | |
| 34 | +| `--max`<br>`--limit` | `int64` | 0 | Max contacts to scan (0 = all) | |
| 35 | +| `--no-input`<br>`--non-interactive`<br>`--noninteractive` | `bool` | | Never prompt; fail instead (useful for CI) | |
| 36 | +| `-p`<br>`--plain`<br>`--tsv` | `bool` | false | Output stable, parseable text to stdout (TSV; no colors) | |
| 37 | +| `--results-only` | `bool` | | In JSON mode, emit only the primary result (drops envelope fields like nextPageToken) | |
| 38 | +| `--select`<br>`--pick`<br>`--project` | `string` | | In JSON mode, select comma-separated fields (best-effort; supports dot paths). Desire path: use --fields for most commands. | |
| 39 | +| `-v`<br>`--verbose` | `bool` | | Enable verbose logging | |
| 40 | +| `--version` | `kong.VersionFlag` | | Print version and exit | |
| 41 | + |
| 42 | +## See Also |
| 43 | + |
| 44 | +- [gog contacts](gog-contacts.md) |
| 45 | +- [Command index](README.md) |
0 commit comments