feat(clean): add snapshot support for volatile repo cleanup
Some checks failed
Auto Changelog & Release / detect-version-change (push) Successful in 3s
Auto Changelog & Release / release (push) Has been skipped
Auto Changelog & Release / changelog-only (push) Failing after 6s
Build and Publish nightly package / build-and-publish (push) Successful in 33s

This commit is contained in:
2025-11-27 18:21:20 +01:00
parent 801c8e24a1
commit 7f629fd752
2 changed files with 80 additions and 11 deletions

View File

@@ -13,6 +13,8 @@ class RepoCategory(BaseModel):
class RepoCatDefaults(BaseModel):
dry_run: bool = True
auto_create_directories: bool = True
snapshots: bool = False
snapshot_count: int = 5
class RepoCatConfig(BaseModel):
base_dir: Path = Field(default=Path("~/Repositories").expanduser())