Abhishek Thakur
refactor
815b0dc
raw
history blame contribute delete
313 Bytes
from abc import ABC, abstractmethod
from argparse import ArgumentParser
class BaseCompetitionsCommand(ABC):
@staticmethod
@abstractmethod
def register_subcommand(parser: ArgumentParser):
raise NotImplementedError()
@abstractmethod
def run(self):
raise NotImplementedError()