Initial upload: GitPulse project files

This commit is contained in:
2026-02-01 00:01:53 +00:00
parent 9f02143b97
commit 4a79dc90f7

17
gitpulse/config.py Normal file
View File

@@ -0,0 +1,17 @@
"""Configuration management for GitPulse."""
from dataclasses import dataclass
from pathlib import Path
@dataclass
class Config:
"""Configuration for GitPulse."""
default_path: str = "."
cache_enabled: bool = True
config_path: Path = None
def __post_init__(self) -> None:
if self.config_path is None:
self.config_path = Path.home() / ".config" / "gitpulse" / "config.toml"