# mentions

> Every coline mentions command, with its flags and the action it runs.

Source: https://docs.coline.app/cli/reference/mentions

{/* Generated by apps/docs/scripts/cli-reference.ts from coline's command tree and the cli action catalog. Don't edit it: run `pnpm --filter @colineapp/docs cli:reference`. */}

Every `coline mentions` command, 1 in all.

## mentions search

Finds Coline items the person can @-mention by name: people, channels and direct messages, docs, notes, files and tasks, in their default workspace unless one is named. Use it to resolve an @-mention to a Coline id and link.

It changes nothing.

```text
coline mentions search [flags]
```

**Action** `mentions.search` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `workspace.read` · **Workspace** no

| Flag               | What it does                                                                 |
| ------------------ | ---------------------------------------------------------------------------- |
| `--query <text>`   | What the person typed after @; may be empty. Required.                       |
| `--kinds <list>`   | Only these kinds. One or more of person, channel, dm, doc, note, file, task. |
| `--limit <number>` | Default 10.                                                                  |
| `--input <file>`   | Read the input as JSON from a file; - reads stdin.                           |

```bash
coline mentions search --query "…"
coline mentions search --json '{"query":"…"}' --fields id
```
