@aisdlc/cli 4.5.1 → 4.5.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/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
// src/index.ts
|
|
4
4
|
import { Command } from "commander";
|
|
5
5
|
import pc12 from "picocolors";
|
|
6
|
+
import { formatAisdlcVersionOutput } from "@aisdlc/core";
|
|
6
7
|
|
|
7
8
|
// src/commands/check.ts
|
|
8
9
|
import * as fs from "fs";
|
|
@@ -2876,7 +2877,7 @@ function runChangeNew(options) {
|
|
|
2876
2877
|
|
|
2877
2878
|
// src/index.ts
|
|
2878
2879
|
var program = new Command();
|
|
2879
|
-
program.name("aisdlc").description("AI-SDLC: Spec-Driven Development, Governance & Quality Gates for AI & Humans").version(
|
|
2880
|
+
program.name("aisdlc").description("AI-SDLC: Spec-Driven Development, Governance & Quality Gates for AI & Humans").version(formatAisdlcVersionOutput());
|
|
2880
2881
|
program.command("doctor").description("Comprehensive environment, toolchain, git-hooks, and security health diagnostics").option("-r, --root <path>", "Project root directory").option("--fix", "Automatically repair broken or missing git hooks with backup").option("--json", "Emit diagnostics report in structured JSON format").option("--strict", "Fail with non-zero exit code on warnings as well as critical failures").option("--offline", "Skip remote external network probes (e.g. for air-gapped environments)").option("--timeout <ms>", "Maximum timeout in milliseconds for subprocess execution", parseInt).action(async (opts) => {
|
|
2881
2882
|
const exitCode = await runDoctor({
|
|
2882
2883
|
rootDir: opts.root,
|