~/.smolbren/vaults/<name>/), so your source files are never modified. All commands that operate on notes (search, query, get, links, etc.) require at least one vault to be registered and indexed.
vault add
Register a new vault by giving it a name and pointing it at a directory. SynopsisA short, memorable name for this vault. Used with
--vault to select it in
other commands. Must be unique across all registered vaults.Absolute or relative path to the root directory of your Markdown vault. The
path is canonicalized to an absolute path at registration time; the directory
must already exist.
Mark this vault as the default. When
--default is set, subsequent commands
that need a vault will use this one automatically without requiring --vault.
The first vault you add is always made the default regardless of this flag.path in the response is the canonicalized absolute path. The default field reflects whether this vault is now the active default.
vault list
List all registered vaults and their current status. Synopsis| Field | Type | Description |
|---|---|---|
name | string | The vault’s registered name |
path | string | Absolute path to the vault directory |
default | boolean | Whether this is the current default vault |
indexed_at_ms | integer | null | Unix timestamp (ms) of the last completed index run, or null if the vault has never been indexed |
vault remove
Unregister a vault by name. SynopsisThe name of the vault to remove, as it appears in
vault list.--default or update your config manually.
Example