@kitelev/exocortex-cli 17.7.7 → 17.7.8
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 +19 -19
- package/dist/index.js +230 -227
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -272,14 +272,14 @@ npx @kitelev/exocortex-cli index --vault ~/vault --stats
|
|
|
272
272
|
|
|
273
273
|
**Options:**
|
|
274
274
|
|
|
275
|
-
| Option | Default | Description
|
|
276
|
-
| ----------------- | ------- |
|
|
277
|
-
| `--vault <path>` | cwd | Path to Obsidian vault
|
|
278
|
-
| `--output <type>` | `text` | Response format: `text` or `json`
|
|
279
|
-
| `--stats` | off | Show cache statistics after building
|
|
280
|
-
| `--force` | off | Force rebuild even if the cache is valid
|
|
281
|
-
| `--strict` | off | Fail on the first invalid IRI instead of skipping
|
|
282
|
-
| `--no-inference` | — | Disable RDFS `subClassOf` inference materialization
|
|
275
|
+
| Option | Default | Description |
|
|
276
|
+
| ----------------- | ------- | --------------------------------------------------- |
|
|
277
|
+
| `--vault <path>` | cwd | Path to Obsidian vault |
|
|
278
|
+
| `--output <type>` | `text` | Response format: `text` or `json` |
|
|
279
|
+
| `--stats` | off | Show cache statistics after building |
|
|
280
|
+
| `--force` | off | Force rebuild even if the cache is valid |
|
|
281
|
+
| `--strict` | off | Fail on the first invalid IRI instead of skipping |
|
|
282
|
+
| `--no-inference` | — | Disable RDFS `subClassOf` inference materialization |
|
|
283
283
|
|
|
284
284
|
### validate
|
|
285
285
|
|
|
@@ -293,15 +293,15 @@ npx @kitelev/exocortex-cli validate <schema|vault> [options]
|
|
|
293
293
|
|
|
294
294
|
Check frontmatter properties against the ontology (schema linting), or run SHACL-lite shapes validation with `--shapes-mode`. Exits `1` if violations are found.
|
|
295
295
|
|
|
296
|
-
| Option | Default | Description
|
|
297
|
-
| ----------------- | ------- |
|
|
298
|
-
| `--vault <path>` | cwd | Path to Obsidian vault
|
|
299
|
-
| `--output <type>` | `text` | Response format: `text` or `json`
|
|
300
|
-
| `--staged` | off | Only validate git-staged `.md` files (for pre-commit hooks)
|
|
301
|
-
| `--use-cache` | off | Use the persistent triple cache
|
|
302
|
-
| `--shapes-mode` | off | Run SHACL-lite shapes validation instead of schema linting
|
|
303
|
-
| `--format <type>` | `text` | Shapes-mode output format: `text`, `json`, `earl`
|
|
304
|
-
| `--class <iri>` | — | Only validate assets whose `exo__Instance_class` matches this IRI/slug
|
|
296
|
+
| Option | Default | Description |
|
|
297
|
+
| ----------------- | ------- | ---------------------------------------------------------------------- |
|
|
298
|
+
| `--vault <path>` | cwd | Path to Obsidian vault |
|
|
299
|
+
| `--output <type>` | `text` | Response format: `text` or `json` |
|
|
300
|
+
| `--staged` | off | Only validate git-staged `.md` files (for pre-commit hooks) |
|
|
301
|
+
| `--use-cache` | off | Use the persistent triple cache |
|
|
302
|
+
| `--shapes-mode` | off | Run SHACL-lite shapes validation instead of schema linting |
|
|
303
|
+
| `--format <type>` | `text` | Shapes-mode output format: `text`, `json`, `earl` |
|
|
304
|
+
| `--class <iri>` | — | Only validate assets whose `exo__Instance_class` matches this IRI/slug |
|
|
305
305
|
|
|
306
306
|
```bash
|
|
307
307
|
# Strict SHACL-lite validation of the whole vault
|
|
@@ -350,7 +350,7 @@ npx @kitelev/exocortex-cli create --class ztlk__PermanentNote --label "My Note"
|
|
|
350
350
|
| `--body <text>` | — | Markdown body content (use `-` to read from stdin) |
|
|
351
351
|
| `--body-file <path>` | — | Read body content from a file |
|
|
352
352
|
| `--dry-run` | off | Preview the exact file content (stderr) without writing |
|
|
353
|
-
| `--created-by <uuid>` | — | Creator UUID
|
|
353
|
+
| `--created-by <uuid>` | — | Creator UUID; refused when it has no file in the vault (#4448) |
|
|
354
354
|
| `--timezone <tz>` | `Asia/Almaty` | Timezone for timestamps |
|
|
355
355
|
| `--skip-wikilink-validation` | off | Skip wikilink existence validation |
|
|
356
356
|
| `--validate` | off | SHACL-lite conformance gate BEFORE writing (refuses a non-conformant asset) |
|
|
@@ -424,7 +424,7 @@ generate-items | npx @kitelev/exocortex-cli create-batch - --vault ~/vault --dry
|
|
|
424
424
|
| `<file>` | **required** | The JSON file, or `-` for stdin (read to the end, no time limit; a terminal is refused) |
|
|
425
425
|
| `--vault <path>` | cwd | Path to Obsidian vault |
|
|
426
426
|
| `--dry-run` | off | Plan and validate every item, preview each one's exact bytes (stderr), write nothing |
|
|
427
|
-
| `--created-by <uuid>` | — | Creator for items that set no `createdBy
|
|
427
|
+
| `--created-by <uuid>` | — | Creator for items that set no `createdBy`; must exist (#4448) |
|
|
428
428
|
| `--timezone <tz>` | `Asia/Almaty` | Timezone for timestamps |
|
|
429
429
|
| `--skip-wikilink-validation` | off | Skip wikilink existence validation |
|
|
430
430
|
| `--yes` | — | Accepted for symmetry (no-op) |
|