EN: The Command interface declares a method for executing a command. RU: Интерфейс Команды объявляет метод для выполнения команд.
| 19 | |
| 20 | |
| 21 | class Command(ABC): |
| 22 | """ |
| 23 | EN: The Command interface declares a method for executing a command. |
| 24 | |
| 25 | RU: Интерфейс Команды объявляет метод для выполнения команд. |
| 26 | """ |
| 27 | |
| 28 | @abstractmethod |
| 29 | def execute(self) -> None: |
| 30 | pass |
| 31 | |
| 32 | |
| 33 | class SimpleCommand(Command): |
nothing calls this directly
no outgoing calls
no test coverage detected