Add .gitignore; fix move command syntax (name= → to=)

- Add .gitignore to exclude test-results/ from version control
- Fix `obsidian move` syntax in SKILL.md and command-reference.md:
  the parameter is `to=<full-path>` not `name=<filename>` (confirmed
  by live testing against TestVault — CLI exits 0 with error message
  when name= is used, silent failure)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
pablo-mano
2026-02-27 21:16:15 +01:00
parent 2c78b1e658
commit 55abf71ab0
3 changed files with 5 additions and 4 deletions
+3 -3
View File
@@ -63,11 +63,11 @@ obsidian prepend path="folder/note.md" content="Prepended text"
### Moving & Renaming
```bash
obsidian move path="old/path/note.md" name="new-name"
obsidian move path="old/path/note.md" to="new/path/note.md"
```
- `name=` is the new filename (moves/renames).
- The target path must include the `.md` extension when specifying a full path.
- `to=` is the full vault-relative target path including the `.md` extension.
- Can be used to move, rename, or both in a single command.
### Deleting