feat(obsidian): add property frontmatter commands
Build and Push Docker Container / build-and-push (push) Successful in 4m27s
Build and Push Docker Container / build-and-push (push) Successful in 4m27s
- Expose Obsidian CLI property commands via the n8n Obsidian API node - Add a new Property resource with operations: Set, Read, Remove, List - Implement correct args mapping for property:set/property:read/property:remove/properties - Return raw CLI stdout for property read/list for easier downstream parsing - Update node README with frontmatter/property usage examples - Bump package version to 0.2.5
This commit is contained in:
@@ -16,6 +16,11 @@ Resources:
|
||||
- Delete
|
||||
- Rename
|
||||
- List Files
|
||||
- **Property**
|
||||
- Set
|
||||
- Read
|
||||
- Remove
|
||||
- List
|
||||
- **Daily Note**
|
||||
- Append
|
||||
- Prepend
|
||||
@@ -51,6 +56,29 @@ Raw command example:
|
||||
["vault=work", "read", "path=Inbox/Note.md"]
|
||||
```
|
||||
|
||||
## Properties / frontmatter
|
||||
The official Obsidian CLI supports property/frontmatter commands. The n8n node exposes them as the **Property** resource:
|
||||
|
||||
- **Set** sends `property:set path=<note> name=<property> value=<value> type=<type>`
|
||||
- **Read** sends `property:read path=<note> name=<property>`
|
||||
- **Remove** sends `property:remove path=<note> name=<property>`
|
||||
- **List** sends `properties name=<optional> format=<yaml|json|tsv>`
|
||||
|
||||
Examples:
|
||||
```text
|
||||
path=00 Kontext/Feedback Browser CLI Tests.md
|
||||
name=tags
|
||||
value=kontext, feedback-browser-cli-tests
|
||||
type=list
|
||||
```
|
||||
|
||||
```text
|
||||
path=00 Kontext/Feedback Browser CLI Tests.md
|
||||
name=date
|
||||
value=2026-06-24
|
||||
type=date
|
||||
```
|
||||
|
||||
## Local install in self-hosted n8n
|
||||
From this repo:
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user