2022-01-31 18:24:00 +01:00
|
|
|
from typing import Any
|
|
|
|
|
2023-10-12 19:43:45 +02:00
|
|
|
from typing_extensions import override
|
|
|
|
|
2022-04-14 23:30:17 +02:00
|
|
|
from zerver.actions.user_groups import promote_new_full_members
|
2022-01-31 18:24:00 +01:00
|
|
|
from zerver.lib.management import ZulipBaseCommand
|
|
|
|
|
|
|
|
|
|
|
|
class Command(ZulipBaseCommand):
|
|
|
|
help = """Add users to full members system group."""
|
|
|
|
|
2023-10-12 19:43:45 +02:00
|
|
|
@override
|
2022-01-31 18:24:00 +01:00
|
|
|
def handle(self, *args: Any, **options: Any) -> None:
|
|
|
|
promote_new_full_members()
|