Obsidian CLI enables you to conveniently access your vault from the terminal, without having to navigate to the vault folder or provide the full file path. Simply enter the name of the desired note, and the CLI will take care of the rest.
# opens cake.md from default vault $ obs open cake # opens cookies.md from recipes vault $ obs open cookies --vault other-vault
Open notes in Obsidian by simply typing the note name, regardless of their location within the vault.
# Opens with search query in default vault $ obs search stars # Opens with search query in other-vault $ obs search stars --vault other-vault
Perform text searches with ease, Obsidian will open with the query results displayed in the search tab.
# Deletes the note in default vault $ obs delete abc # Deletes the note in other-vault $ obs delete abc --vault other-vault
Deleting a note is just as straightforward as creating one.