Source code for textattack.commands.textattack_command

from abc import ABC, abstractmethod


[docs]class TextAttackCommand(ABC):
[docs] @staticmethod @abstractmethod def register_subcommand(parser): raise NotImplementedError()
[docs] @abstractmethod def run(self): raise NotImplementedError()