INNER CODE UNIT · Python
_run_serve
Chanchaldhiman/CANviz · backend/canviz/cli.py:164
def _run_serve(
interface: str,
channel: str,
index: int,
bitrate: int,
baudrate: int,
host: str,
port: int,
headless: bool,
log_level: str,
enable_j1939: bool = False,
) -> None:
"""Shared implementation used by root callback and `serve` subcommand."""
settings.interface = interface
settings.channel = channel
settings.index = index
settings.bitrate = bitrate
settings.host = host