obsidian-launcher 2.3.1 → 2.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -130,3 +130,19 @@ Options:
|
|
|
130
130
|
- `--arch <arch>`: Architecture of the installer, one of arm64, ia32, x64. (default: system arch)
|
|
131
131
|
- `-c, --cache <cache>`: Directory to use as the download cache (default: OBSIDIAN_CACHE env var or ~/.obsidian-cache)
|
|
132
132
|
|
|
133
|
+
### cli
|
|
134
|
+
Run an Obsidian CLI command.
|
|
135
|
+
|
|
136
|
+
As obsidian-launcher sandboxes the config dir for each obsidian instance, the Obsidian CLI won't connect to the launched instances by default. This command handles connecting the CLI to the sandboxed Obsidian
|
|
137
|
+
instances.
|
|
138
|
+
|
|
139
|
+
Like the the regular Obsidian CLI, it will connect to the instance matching the `vault=` argument if present, or the cwd.
|
|
140
|
+
|
|
141
|
+
The Obsidian CLI only works on Obsidian >=1.12.0 with installer >=1.11.7
|
|
142
|
+
|
|
143
|
+
See https://help.obsidian.md/cli
|
|
144
|
+
|
|
145
|
+
Example:
|
|
146
|
+
```
|
|
147
|
+
npx obsidian-launcher cli file file=Dashboard
|
|
148
|
+
```
|