File size: 464 Bytes
0367091 31e282f 0367091 31e282f 0367091 31e282f 0367091 31e282f 0367091 31e282f 0367091 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | """Public ctx-monitor entrypoint.
The dashboard implementation lives under :mod:`ctx.monitor`. This flat module
stays as the console-script and backwards-compatible import surface.
"""
from __future__ import annotations
import sys
from typing import Any
from ctx.monitor import compat as _compat
if __name__ == "__main__":
sys.exit(_compat.main())
def __getattr__(name: str) -> Any:
return getattr(_compat, name)
sys.modules[__name__] = _compat
|