mirror of
https://github.com/QData/TextAttack.git
synced 2021-10-13 00:05:06 +03:00
19 lines
292 B
Python
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()
|