- src/lg_smtv_mcp/errors.py: define ErrorCode(StrEnum) and TvError(code, message) domain error taxonomy
- src/lg_smtv_mcp/config.py: add frozen TvConfig, stdlib .env fallback in load_config(), range/required validations, ALLOWED_HOSTS parsing, require_bearer_token(), and require_mac()
- src/lg_smtv_mcp/{__init__,__main__,cli}.py: add package root, module entrypoint, and minimal main() CLI stub
- .gitignore & .env.example: exclude SSH key artifacts and provide placeholder runtime config template
9 lines
180 B
Python
9 lines
180 B
Python
"""Module entrypoint for `python -m lg_smtv_mcp`."""
|
|
|
|
from __future__ import annotations
|
|
|
|
from lg_smtv_mcp.cli import main
|
|
|
|
if __name__ == "__main__":
|
|
raise SystemExit(main())
|