brain / Brain /src /service /command_service.py
thomas
feature(#16): fixed package issues in sub directories.
1fac9b0
"""service to manage command"""
from typing import Any
from Brain.src.commands.command import CommandRegistry
class CommandService:
"""get commands"""
def __init__(self):
self.command_registry = CommandRegistry()
def get(self) -> Any:
return self.command_registry.get_all_commands()