2023-01-10 08:57:57 +01:00
|
|
|
from dataclasses import dataclass
|
2023-01-10 15:45:35 +01:00
|
|
|
from pathlib import Path
|
2023-01-10 08:57:57 +01:00
|
|
|
|
2023-01-12 15:48:07 +01:00
|
|
|
from click import get_app_dir
|
2023-01-10 08:57:57 +01:00
|
|
|
from yamldataclassconfig import create_file_path_field
|
|
|
|
from yamldataclassconfig.config import YamlDataClassConfig
|
|
|
|
|
|
|
|
|
|
|
|
@dataclass
|
|
|
|
class Config(YamlDataClassConfig):
|
2023-01-10 15:45:35 +01:00
|
|
|
root_directory: str = ""
|
|
|
|
compose_executable: str = ""
|
2023-01-10 08:57:57 +01:00
|
|
|
|
2023-01-12 15:48:07 +01:00
|
|
|
FILE_PATH: Path = create_file_path_field(Path(get_app_dir("doxy")) / "config.yml")
|