fix: use correct CLI command name (obsidian-cli)#55
Conversation
- Homebrew installs the CLI as 'obsidian-cli', not 'obsidian' - Add Installation section with Homebrew instructions - Replace all command examples with 'obsidian-cli' - Add alias tip for users with 'obsidian' command Fixes kepano#53
|
you wrong |
|
@yang1002378395-cmyk, I think |
|
Thanks for the PR! Actually, after investigation, the issue is not about the command name. The root cause is:
So this PR might not be necessary if users enable CLI in Obsidian settings first. We've closed issue #53 with this solution. You may want to consider updating the docs instead of changing all commands. |
|
So part of the problem stems from there being an unofficial obsidian-cli installed through Homebrew and there is now an official obsidian cli that is installed with Obsidian and it must be "enabled" in the settings. The official one uses the command "obsidian" and the homebrew version uses the command "obsidian-cli". A side note the official one only works while Obsidian is already open on the computer and the Homebrew version is made more for "agents" and will run without Obsidian being open. |

Problem
Issue #53 reports that the skill invokes
obsidian, but the actual command installed via Homebrew isobsidian-cli.Solution
obsidian-cliobsidianChanges
obsidiantoobsidian-clialias obsidian-cli=obsidianfor non-Homebrew usersTesting
obsidian-cliFixes #53