1
0
mirror of https://github.com/QData/TextAttack.git synced 2021-10-13 00:05:06 +03:00
Files
textattack-nlp-transformer/textattack/commands/textattack_command.py
Yanjun Qi 2ea690bbc6 a major shift to rst files generated by sphinx-apidoc
major docstring clean up / plus reorganize the folder structure under docs
2020-10-25 20:21:43 -04:00

19 lines
292 B
Python

"""
TextAttack Command Class
"""
from abc import ABC, abstractmethod
class TextAttackCommand(ABC):
@staticmethod
@abstractmethod
def register_subcommand(parser):
raise NotImplementedError()
@abstractmethod
def run(self):
raise NotImplementedError()