doxy/doxy/config.py

17 lines
421 B
Python

from dataclasses import dataclass
from pathlib import Path
from xdg import xdg_config_home
from yamldataclassconfig import create_file_path_field
from yamldataclassconfig.config import YamlDataClassConfig
@dataclass
class Config(YamlDataClassConfig):
root_directory: str = ""
compose_executable: str = ""
FILE_PATH: Path = create_file_path_field(
Path(xdg_config_home()) / "doxy/config.yml"
)