Add instruction package

This commit is contained in:
Jakob Moser 2025-05-21 13:42:43 +02:00
parent 79831cf027
commit 58d3cf38e9
Signed by: jakob
GPG Key ID: 3EF2BA2851B3F53C
3 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,11 @@
from dataclasses import dataclass
from karaokatalog.deduplicate.instructions.Instruction import Instruction
@dataclass(frozen=True)
class DeleteInstruction(Instruction):
# TODO Add file to delete
def __call__(self) -> None:
pass # TODO Implement

View File

@ -0,0 +1,6 @@
from typing import Protocol
class Instruction(Protocol):
def __call__(self) -> None:
...