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
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:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user