blob: a387ef746fce7dbbda7aa8517a966edaaf760ee2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
from ._base import AppFeaturePath, AppFeatureProvider
from ._data import DataManager
class ConfigManager(AppFeatureProvider):
def __init__(self) -> None:
super().__init__("config-manager")
self._config_path = self.app.get_feature(DataManager).data_dir.add_subpath(
"config", False, description="Configuration file path."
)
@property
def config_path(self) -> AppFeaturePath:
return self._config_path
|