Files
lg-smtv-mcp/src/lg_smtv_mcp/cli.py
T
kiskaadee c549c83e2c feat(config): implement ErrorCode, TvConfig, load_config, CLI stub, and secret hygiene
- 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
2026-11-15 11:03:18 -05:00

12 lines
251 B
Python

"""CLI entrypoint stub for lg-smtv-mcp (expanded in Issue #3)."""
from __future__ import annotations
from collections.abc import Sequence
def main(argv: Sequence[str] | None = None) -> int:
"""CLI entrypoint stub."""
_ = argv
return 0