mirror of
https://github.com/rjNemo/design-patterns
synced 2026-06-06 02:26:40 +00:00
11 lines
208 B
Python
11 lines
208 B
Python
from abc import ABC, abstractmethod
|
|
|
|
|
|
class Command(ABC):
|
|
"""
|
|
The Command interface declares a method for executing a command.
|
|
"""
|
|
|
|
@abstractmethod
|
|
def execute(self) -> None:
|
|
pass
|