Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 22c5c8af83 | |||
| e30c0eb9cc | |||
| 131c1654ee | |||
| 931a3a9517 | |||
| e5c8b8e223 |
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "obsidian-cli",
|
||||
"description": "Interact with Obsidian vaults using the official Obsidian CLI (v1.12+). Read, create, append, search, and manage notes, daily notes, properties, tags, tasks, bookmarks, templates, themes, sync, plugins, and links — all from the terminal.",
|
||||
"version": "1.0.4",
|
||||
"version": "1.1.0",
|
||||
"author": {
|
||||
"name": "pablo-mano"
|
||||
},
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "obsidian-cli",
|
||||
"description": "Interact with Obsidian vaults using the official Obsidian CLI (v1.12+). Read, create, append, search, and manage notes, daily notes, properties, tags, tasks, bookmarks, templates, themes, sync, plugins, and links — all from the terminal.",
|
||||
"version": "1.0.4",
|
||||
"version": "1.1.0",
|
||||
"author": {
|
||||
"name": "pablo-mano"
|
||||
},
|
||||
|
||||
@@ -210,6 +210,7 @@ obsidian sync:restore path="important.md" version=3 # Rollback
|
||||
6. **Stderr noise** — GPU/Electron warnings on headless are harmless; filter with `2>/dev/null`.
|
||||
7. **`daily:prepend`** inserts content after frontmatter, not at byte 0.
|
||||
8. **Use `eval`** to run arbitrary JavaScript against the Obsidian API (`app.*`).
|
||||
9. **`template:insert`** inserts into the currently active file in the Obsidian UI — it does not accept a `path=` parameter. If no file is open, it returns `Error: No active editor. Open a file first.` To create a file from a template via CLI, use `obsidian create path="..." template="..."` instead.
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
|
||||
@@ -257,7 +257,7 @@ obsidian template:insert name="weekly-review" # Insert template into t
|
||||
- `resolve` — Process template variables (`{{date}}`, `{{title}}`, etc.)
|
||||
- Title and other variables can be passed as `key=value` for template rendering.
|
||||
|
||||
> **Note:** `template:insert` inserts into whichever file is currently active in the Obsidian UI — it does not accept a `path=` parameter. To create a new file from a template, use `obsidian create path="..." template="..."` instead.
|
||||
> **Note:** `template:insert` inserts into whichever file is currently active in the Obsidian UI — it does not accept a `path=` parameter. If no file is open, it returns `Error: No active editor. Open a file first.` To create a new file from a template, use `obsidian create path="..." template="..."` instead.
|
||||
|
||||
---
|
||||
|
||||
|
||||
@@ -210,6 +210,7 @@ obsidian sync:restore path="important.md" version=3 # Rollback
|
||||
6. **Stderr noise** — GPU/Electron warnings on headless are harmless; filter with `2>/dev/null`.
|
||||
7. **`daily:prepend`** inserts content after frontmatter, not at byte 0.
|
||||
8. **Use `eval`** to run arbitrary JavaScript against the Obsidian API (`app.*`).
|
||||
9. **`template:insert`** inserts into the currently active file in the Obsidian UI — it does not accept a `path=` parameter. If no file is open, it returns `Error: No active editor. Open a file first.` To create a file from a template via CLI, use `obsidian create path="..." template="..."` instead.
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
|
||||
@@ -257,7 +257,7 @@ obsidian template:insert name="weekly-review" # Insert template into t
|
||||
- `resolve` — Process template variables (`{{date}}`, `{{title}}`, etc.)
|
||||
- Title and other variables can be passed as `key=value` for template rendering.
|
||||
|
||||
> **Note:** `template:insert` inserts into whichever file is currently active in the Obsidian UI — it does not accept a `path=` parameter. To create a new file from a template, use `obsidian create path="..." template="..."` instead.
|
||||
> **Note:** `template:insert` inserts into whichever file is currently active in the Obsidian UI — it does not accept a `path=` parameter. If no file is open, it returns `Error: No active editor. Open a file first.` To create a new file from a template, use `obsidian create path="..." template="..."` instead.
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user