aboutsummaryrefslogtreecommitdiff
path: root/tools/cru-py/cru/service/_data.py
blob: f38dc2389c7d773b9f2f086baeef2e05e30f05d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
from cru.app import ApplicationPath
from ._base import AppFeatureProvider


class DataManager(AppFeatureProvider):
    def __init__(self) -> None:
        super().__init__("data-manager")
        self._dir = self.add_app_path("data", True)

    @property
    def data_dir(self) -> ApplicationPath:
        return self._dir