from abc import abstractmethod class AbstractCommand: """Abstract class for all commands. """ @abstractmethod def run(self) -> None: raise NotImplementedError