2016-06-04 16:52:18 +02:00
|
|
|
from typing import Any
|
2013-11-13 05:38:54 +01:00
|
|
|
|
2023-10-12 19:43:45 +02:00
|
|
|
from typing_extensions import override
|
2013-11-13 05:38:54 +01:00
|
|
|
|
2024-05-24 16:49:56 +02:00
|
|
|
from zerver.lib.management import ZulipBaseCommand, check_config
|
2018-05-04 01:04:12 +02:00
|
|
|
|
2020-01-14 21:59:46 +01:00
|
|
|
|
2024-05-24 16:49:56 +02:00
|
|
|
class Command(ZulipBaseCommand):
|
2020-01-30 21:23:36 +01:00
|
|
|
help = """Checks /etc/zulip/settings.py for common configuration issues."""
|
2013-11-13 05:38:54 +01:00
|
|
|
|
2023-10-12 19:43:45 +02:00
|
|
|
@override
|
2017-10-26 11:35:57 +02:00
|
|
|
def handle(self, *args: Any, **options: Any) -> None:
|
2018-05-04 01:04:12 +02:00
|
|
|
check_config()
|