7
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-06-02 06:10:47 +00:00
tutor/tutor/commands/context.py

16 lines
476 B
Python
Raw Normal View History

from ..types import Config
def unimplemented_docker_compose(root: str, config: Config, *command: str) -> int:
raise NotImplementedError
# pylint: disable=too-few-public-methods
class Context:
def __init__(self, root: str) -> None:
self.root = root
self.docker_compose_func = unimplemented_docker_compose
def docker_compose(self, root: str, config: Config, *command: str) -> int:
return self.docker_compose_func(root, config, *command)