Files
computer-playbook/cli/deploy/container/__init__.py
T
kevinveenbirkenbach d2e88b6a8c feat(cli): eliminate runpy warnings for inventory + container entrypoints
* Remove legacy **main** re-export wrappers to avoid `runpy` "already in sys.modules" warnings
* Introduce `cli.deploy.container.command` as the stable implementation module
* Reduce `cli.deploy.container.__main__` to a minimal entrypoint delegating to `command.main`
* Re-export container helpers from package `__init__` without importing `__main__`
* Update unit tests to import/patch the new command module and keep CLI dispatch stable

https://chatgpt.com/share/69484a22-60dc-800f-a23d-068d7c45fe37
2025-12-21 20:27:26 +01:00

18 lines
282 B
Python

from __future__ import annotations
from .command import (
main,
remove_container,
run_in_container,
start_ci_container,
stop_container,
)
__all__ = [
"main",
"run_in_container",
"start_ci_container",
"stop_container",
"remove_container",
]