Files
orrisroot 8ce9e09e69 refactor: use services layer and modularize transfer operations
Decouple CLI commands from internal helper logic and consolidate the
core file transfer operations in the service layer to improve library
portability.

- Make MdrsClient subclass MdrsService to inherit resource resolution.
- Remove all deprecated helper methods from BaseCommand.
- Move core upload and download logic to a new transfer module.
- Refactor all CLI commands to route actions through MdrsClient.
- Eliminate circular imports between client and CLI command modules.
2026-07-02 23:16:53 +09:00

12 lines
276 B
Python

from abc import ABC, abstractmethod
from typing import Any
from mdrsclient.exceptions import UnexpectedException
class BaseCommand(ABC):
@classmethod
@abstractmethod
def register(cls, parsers: Any) -> None:
raise UnexpectedException("Not implemented.")