> ## Documentation Index
> Fetch the complete documentation index at: https://docs.diversion.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# invite

> Invite collaborators

To add contributors to your repository, you use the invite command:

```bash theme={null}
dv invite <email> --access <mode>
```

`--access <mode>` defines the level of access you want to provide to this collaborator; the options for `<mode>` are:

* `READ`
* `WRITE`
* `ADMIN`
* `OWNER`

The collaborators need a Diversion account before they can access the repository.

## accept

To accept a pending repository invitation:

```bash theme={null}
dv invite accept <repo_id>
```
