from typing import Optional, Dict, Any | |
from abc import ABC, abstractmethod | |
class CommandHandler(ABC): | |
# {"base": {"name": command}, "advance": {"name": command}} | |
def get_command() -> Dict[str, Dict[str, list]]: | |
"Method to get command from yaml file and return dictionary" | |
pass | |
def is_contains() -> bool: | |
"""Method to check contains command in text or not""" | |
pass | |
def execute() -> Any: | |
"Method to execute command" | |
pass | |