ddns_manager/cli/helpers.py
from abc import ABC, abstractmethod
from typing import Dict
class ConfigHelper(ABC):
@classmethod
@abstractmethod
def build(cls, config: Dict) -> object:
raise NotImplementedError
@staticmethod
@abstractmethod
def new_config() -> Dict:
raise NotImplementedError