File size: 316 Bytes
bf41ce7 1fac9b0 bf41ce7 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | """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()
|