httk.serve.web.cli ================== .. py:module:: httk.serve.web.cli .. autoapi-nested-parse:: The ``httk serve web`` command: serve, validate, and list static widgets. Classes ------- .. autoapisummary:: httk.serve.web.cli.CLIContextLike Functions --------- .. autoapisummary:: httk.serve.web.cli.build_parser httk.serve.web.cli.command httk.serve.web.cli.reload_app Module Contents --------------- .. py:class:: CLIContextLike Bases: :py:obj:`Protocol` The minimal root-command context consumed by :func:`command`. .. py:property:: program :type: str .. py:property:: cwd :type: pathlib.Path .. py:function:: build_parser(program: str) -> argparse.ArgumentParser Build the public ``httk serve web`` argument parser. .. py:function:: command(argv: collections.abc.Sequence[str], context: CLIContextLike) -> int Dispatch the command registered by ``httk.registry.cli.serve``. .. py:function:: reload_app() Uvicorn reload factory configured by the process-level reload dispatcher.