from __future__ import annotations # noqa D100
import asyncio
from typing import TYPE_CHECKING, final, Self
from typing_extensions import override
from betty.app.factory import AppDependentFactory
from betty.cli.commands import command, Command, project_option
from betty.locale.localizable import _
from betty.plugin import ShorthandPluginBase
if TYPE_CHECKING:
from betty.project import Project
import asyncclick as click
from betty.app import App
[docs]
@final
class Serve(ShorthandPluginBase, AppDependentFactory, Command):
"""
A command to serve a generated site.
"""
_plugin_id = "serve"
_plugin_label = _("Serve a generated site")