sysprom 1.10.1 → 1.10.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/dist/src/cli/program.js +2 -2
- package/package.json +1 -1
package/dist/src/cli/program.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Command } from "commander";
|
|
2
|
+
import packageJson from "../../package.json" with { type: "json" };
|
|
2
3
|
import { buildCommander } from "./define-command.js";
|
|
3
4
|
import { validateCommand } from "./commands/validate.js";
|
|
4
5
|
import { statsCommand } from "./commands/stats.js";
|
|
@@ -17,12 +18,11 @@ import { speckitCommand } from "./commands/speckit.js";
|
|
|
17
18
|
import { taskCommand } from "./commands/task.js";
|
|
18
19
|
import { planCommand } from "./commands/plan.js";
|
|
19
20
|
import { syncCommandDef } from "./commands/sync.js";
|
|
20
|
-
const VERSION = "1.0.0";
|
|
21
21
|
export const program = new Command();
|
|
22
22
|
program
|
|
23
23
|
.name("sysprom")
|
|
24
24
|
.description("System Provenance Model CLI — record where every part of a system came from")
|
|
25
|
-
.version(
|
|
25
|
+
.version(packageJson.version)
|
|
26
26
|
.showHelpAfterError(true);
|
|
27
27
|
export const commands = [
|
|
28
28
|
validateCommand,
|