@driftless-sh/cli 0.1.29 → 0.1.30
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 +5 -2
- package/dist/index.js.map +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -214539,7 +214539,7 @@ async function installSkillCommand() {
|
|
|
214539
214539
|
// src/commands/init.ts
|
|
214540
214540
|
function getVersion() {
|
|
214541
214541
|
try {
|
|
214542
|
-
return "0.1.
|
|
214542
|
+
return "0.1.30";
|
|
214543
214543
|
} catch {
|
|
214544
214544
|
return "0.0.0";
|
|
214545
214545
|
}
|
|
@@ -215006,6 +215006,7 @@ async function initCommand(args) {
|
|
|
215006
215006
|
console.log(" next \u2192 driftless context list");
|
|
215007
215007
|
console.log("");
|
|
215008
215008
|
console.log(DIVIDER);
|
|
215009
|
+
process.exit(0);
|
|
215009
215010
|
}
|
|
215010
215011
|
|
|
215011
215012
|
// src/commands/scan.ts
|
|
@@ -216226,6 +216227,7 @@ function saveConfig(apiKey, apiUrl) {
|
|
|
216226
216227
|
console.log(` Config: ${CONFIG_PATH2}`);
|
|
216227
216228
|
console.log();
|
|
216228
216229
|
console.log("Try: driftless scan --diff");
|
|
216230
|
+
process.exit(0);
|
|
216229
216231
|
} catch (err) {
|
|
216230
216232
|
console.error("Failed to save config:", err);
|
|
216231
216233
|
process.exit(1);
|
|
@@ -216371,6 +216373,7 @@ ${okCount} ok, ${warnCount} warnings, ${failCount} failures`);
|
|
|
216371
216373
|
console.log("\nFix failures before running `driftless init` or `driftless scan`.");
|
|
216372
216374
|
process.exit(1);
|
|
216373
216375
|
}
|
|
216376
|
+
process.exit(0);
|
|
216374
216377
|
}
|
|
216375
216378
|
function pad2(s, n) {
|
|
216376
216379
|
if (s.length >= n) return s;
|
|
@@ -216378,7 +216381,7 @@ function pad2(s, n) {
|
|
|
216378
216381
|
}
|
|
216379
216382
|
|
|
216380
216383
|
// src/index.ts
|
|
216381
|
-
var VERSION = "0.1.
|
|
216384
|
+
var VERSION = "0.1.30";
|
|
216382
216385
|
var HELP_TEXT = `Driftless CLI v${VERSION} \u2014 Living repo context for humans and coding agents
|
|
216383
216386
|
|
|
216384
216387
|
Install: npm install -g @driftless-sh/cli
|