cmdlet refactor

This commit is contained in:
2026-05-04 18:41:01 -07:00
parent 3ce339b3c1
commit 24f983473f
44 changed files with 1320 additions and 309 deletions
+15
View File
@@ -40,6 +40,21 @@ class Store(ABC):
"""True if the store prefers tags to be applied after the file is added."""
return False
@property
def supports_url_association(self) -> bool:
"""True when this store supports associating URLs to files."""
return False
@property
def supports_note_association(self) -> bool:
"""True when this store supports per-file named notes."""
return False
@property
def supports_relationship_association(self) -> bool:
"""True when this store supports file relationship links (king/alt/related)."""
return False
@abstractmethod
def add_file(self, file_path: Path, **kwargs: Any) -> str:
raise NotImplementedError