@kitelev/exocortex-cli 15.43.1 → 15.43.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 CHANGED
@@ -498,6 +498,11 @@ npx @kitelev/exocortex-cli archive --dry-run \
498
498
  - `--no-referenced` - Skip assets that are still referenced by active (non-archived) files **(default behavior)**. Pass `--referenced` to include them anyway.
499
499
  - `--json` - Output in JSON format (default: true)
500
500
 
501
+ **Exit codes:**
502
+
503
+ - `0` — Success (assets archived or dry-run preview completed)
504
+ - `1` — Error (invalid options, vault not found, missing required flags)
505
+
501
506
  **What archive does:**
502
507
 
503
508
  1. Scans active vault for assets matching class + year with `archived: true` in frontmatter
@@ -561,6 +566,11 @@ npx @kitelev/exocortex-cli unarchive --dry-run \
561
566
  - `--archive-vault <path>` - Path to the archive vault **[required]**
562
567
  - `--dry-run` - Preview without writing files
563
568
 
569
+ **Exit codes:**
570
+
571
+ - `0` — Success (asset restored or dry-run preview completed)
572
+ - `1` — Error (UUID not found in archive vault, invalid UUID format, vault not found)
573
+
564
574
  **What unarchive does:**
565
575
 
566
576
  1. Finds asset by UUID in archive vault (direct filename match, then frontmatter scan)
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- // @kitelev/exocortex-cli v15.43.1
2
+ // @kitelev/exocortex-cli v15.43.2
3
3
  // CLI tool for Exocortex knowledge management system - SPARQL queries, task management, and more
4
4
  // License: MIT
5
5
 
@@ -627,7 +627,7 @@ ${ur.dump(i,{lineWidth:-1})}---
627
627
  `),c.isDefinedBy&&process.stderr.write(`isDefinedBy: ${c.isDefinedBy}
628
628
  `),process.stderr.write(`--- END PREVIEW ---
629
629
  `)),process.stdout.write(JSON.stringify(c)+`
630
- `),process.exit(0)}catch(e){q.handle(e)}})}o(iI,"unarchiveCommand");var Gr=new He;Gr.name("exocortex").description("CLI tool for Exocortex knowledge management system").version("15.43.1");var Sv=Gr.command("sparql").description("SPARQL query execution and cache management");Sv.addCommand(pA());Sv.addCommand(vA());Sv.addCommand(_A());Gr.addCommand(CC());Gr.addCommand(OC());Gr.addCommand(RC());Gr.addCommand(DC());Gr.addCommand(NC());Gr.addCommand($C());Gr.addCommand(qC());Gr.addCommand(HC());Gr.addCommand(YC());Gr.addCommand(eI());Gr.addCommand(nI());Gr.addCommand(iI());Gr.parse();
630
+ `),process.exit(0)}catch(e){q.handle(e)}})}o(iI,"unarchiveCommand");var Gr=new He;Gr.name("exocortex").description("CLI tool for Exocortex knowledge management system").version("15.43.2");var Sv=Gr.command("sparql").description("SPARQL query execution and cache management");Sv.addCommand(pA());Sv.addCommand(vA());Sv.addCommand(_A());Gr.addCommand(CC());Gr.addCommand(OC());Gr.addCommand(RC());Gr.addCommand(DC());Gr.addCommand(NC());Gr.addCommand($C());Gr.addCommand(qC());Gr.addCommand(HC());Gr.addCommand(YC());Gr.addCommand(eI());Gr.addCommand(nI());Gr.addCommand(iI());Gr.parse();
631
631
  /*! Bundled license information:
632
632
 
633
633
  reflect-metadata/Reflect.js:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitelev/exocortex-cli",
3
- "version": "15.43.1",
3
+ "version": "15.43.2",
4
4
  "description": "CLI tool for Exocortex knowledge management system - SPARQL queries, task management, and more",
5
5
  "main": "dist/index.js",
6
6
  "bin": {