Add instruction package
This commit is contained in:
@@ -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
|
||||
@@ -0,0 +1,6 @@
|
||||
from typing import Protocol
|
||||
|
||||
class Instruction(Protocol):
|
||||
|
||||
def __call__(self) -> None:
|
||||
...
|
||||
Reference in New Issue
Block a user