mirror of
https://github.com/element-hq/matrix-authentication-service.git
synced 2026-10-15 09:01:45 +00:00
Add a manage send-room-invites command
Schedules a `SendRoomInviteEmailsJob` from the command line, so the room invite emails can be triggered by hand without an API caller. A worker has to be running to actually send them. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
734734e076
commit
4872e25929
@@ -151,3 +151,16 @@ Options:
|
||||
$ mas-cli manage register-user
|
||||
$ mas-cli manage register-user --yes <username>
|
||||
```
|
||||
|
||||
## `manage send-room-invites`
|
||||
|
||||
Send a room invite email to a list of addresses. This schedules the job; a
|
||||
worker must be running to actually send the emails.
|
||||
|
||||
Arguments:
|
||||
- `<room_id>`: The room to invite the recipients to.
|
||||
- `<emails>...`: The addresses to invite. At least one is required.
|
||||
|
||||
```
|
||||
$ mas-cli manage send-room-invites '!room:example.com' alice@example.com bob@example.com
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user