mirror of https://github.com/zulip/zulip.git
13 lines
282 B
Python
13 lines
282 B
Python
|
from __future__ import absolute_import
|
||
|
|
||
|
from typing import Any
|
||
|
|
||
|
from django.core.management.base import BaseCommand
|
||
|
from zerver.lib.retention import archive_messages
|
||
|
|
||
|
|
||
|
class Command(BaseCommand):
|
||
|
|
||
|
def handle(self, *args: Any, **options: str) -> None:
|
||
|
archive_messages()
|