@arkhera30/cli 0.1.3 → 0.1.4

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -3,6 +3,7 @@
3
3
  // src/index.ts
4
4
  import { Command as Command10 } from "commander";
5
5
  import chalk10 from "chalk";
6
+ import { createRequire } from "module";
6
7
 
7
8
  // src/commands/setup.ts
8
9
  import { Command } from "commander";
@@ -1774,8 +1775,10 @@ backupCommand.command("restore <file>").description("Restore Horus data from a b
1774
1775
  });
1775
1776
 
1776
1777
  // src/index.ts
1778
+ var require2 = createRequire(import.meta.url);
1779
+ var { version } = require2("../package.json");
1777
1780
  var program = new Command10();
1778
- program.name("horus").description("CLI for managing the Horus Docker Compose stack").version("0.1.0");
1781
+ program.name("horus").description("CLI for managing the Horus Docker Compose stack").version(version);
1779
1782
  program.addCommand(setupCommand);
1780
1783
  program.addCommand(upCommand);
1781
1784
  program.addCommand(downCommand);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arkhera30/cli",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "CLI for managing the Horus AI development stack",
5
5
  "type": "module",
6
6
  "bin": {