DCWIR-Demo / textattack /commands /textattack_command.py
PFEemp2024's picture
add necessary file
63775f2
raw
history blame contribute delete
255 Bytes
from abc import ABC, abstractmethod
class TextAttackCommand(ABC):
@staticmethod
@abstractmethod
def register_subcommand(parser):
raise NotImplementedError()
@abstractmethod
def run(self):
raise NotImplementedError()