| Total Complexity | 1 |
| Total Lines | 10 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | from abc import ABC, abstractmethod |
||
| 2 | |||
| 3 | |||
| 4 | class CommandInterface(ABC): |
||
| 5 | """Standalone command, encapsulating all logic and data needed, required for execution.""" |
||
| 6 | @abstractmethod |
||
| 7 | def execute(self) -> None: |
||
| 8 | """Execute the command; run the commands logic.""" |
||
| 9 | raise NotImplementedError |
||
| 10 |