Files
computer-playbook/cli/deploy/dedicated/__init__.py
T
kevinveenbirkenbach 1fe0a420fa fix(cli): avoid runpy warnings by moving logic into command modules
Stop importing __main__ from package __init__.py to prevent runpy RuntimeWarning when using `python -m`.

- Move CLI logic into command.py modules
- Keep __main__.py as thin wrappers
- Update unit tests to import command modules directly

https://chatgpt.com/share/6947fb8e-550c-800f-8323-e36f92cb5bba
2025-12-21 14:52:09 +01:00

7 lines
158 B
Python

from __future__ import annotations
from .command import main
from .modes import _parse_bool_literal # noqa: F401
__all__ = ["main", "_parse_bool_literal"]