diff options
| -rw-r--r-- | README.md | 18 | ||||
| -rw-r--r-- | pyproject.toml | 2 |
2 files changed, 19 insertions, 1 deletions
@@ -65,6 +65,24 @@ List all keys existing in stash: keys = stash.list_keys() ``` +Delete a key: + +```python +stash.delete("foo") +``` + +Check for key existance: + +```python +stash.exists("foo") +``` + +Drop all files (careful, this deletes everything): + +```python +stash.drop() +``` + ## License [MIT](LICENSE) diff --git a/pyproject.toml b/pyproject.toml index b130807..6be95f6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "ymlstash" -version = "1.0.2" +version = "1.1.0" description = "A simple ORM-like utility for operating on local YAML files via Python dataclasses" authors = ["Yuval Adam <_@yuv.al>"] readme = "README.md" |
