# notifications

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

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

{/* 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 notifications` command, 2 in all.

## notifications preferences get

How the person is notified in this workspace, for each kind of notification and each place (in the app, desktop, phone, email).

It changes nothing.

```text
coline notifications preferences get [flags]
```

**Action** `notifications.preferences.get` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `workspace.read` · **Workspace** yes, `-w`

| Flag             | What it does                                       |
| ---------------- | -------------------------------------------------- |
| `--input <file>` | Read the input as JSON from a file; - reads stdin. |

```bash
coline notifications preferences get -w acme
coline notifications preferences get -w acme --json '{}' --fields id
```

## notifications preferences update

Turns kinds of notifications on or off for each place they arrive.

Set preferences with --json '\{…}' or --input.

```text
coline notifications preferences update [flags]
```

**Action** `notifications.preferences.update` · **Effect** write · **Can wait for your approval** no · **Scope** `workspace.read` · **Workspace** yes, `-w`

| Flag             | What it does                                       |
| ---------------- | -------------------------------------------------- |
| `--input <file>` | Read the input as JSON from a file; - reads stdin. |

```bash
coline notifications preferences update -w acme
coline notifications preferences update -w acme --json '{"preferences":"…"}' --fields id
```
