@kode-ai-tools/cli 0.2.2 → 0.2.3
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/bin.js +15 -15
- package/package.json +1 -1
package/bin.js
CHANGED
|
@@ -2590,18 +2590,18 @@ function Il() {
|
|
|
2590
2590
|
}
|
|
2591
2591
|
var Pl = Il();
|
|
2592
2592
|
const Bl = /* @__PURE__ */ hn(Pl), {
|
|
2593
|
-
program:
|
|
2594
|
-
createCommand:
|
|
2595
|
-
createArgument:
|
|
2596
|
-
createOption:
|
|
2597
|
-
CommanderError:
|
|
2598
|
-
InvalidArgumentError:
|
|
2599
|
-
InvalidOptionArgumentError:
|
|
2593
|
+
program: _0,
|
|
2594
|
+
createCommand: F0,
|
|
2595
|
+
createArgument: A0,
|
|
2596
|
+
createOption: k0,
|
|
2597
|
+
CommanderError: O0,
|
|
2598
|
+
InvalidArgumentError: T0,
|
|
2599
|
+
InvalidOptionArgumentError: $0,
|
|
2600
2600
|
// deprecated old name
|
|
2601
2601
|
Command: V,
|
|
2602
|
-
Argument:
|
|
2603
|
-
Option:
|
|
2604
|
-
Help:
|
|
2602
|
+
Argument: L0,
|
|
2603
|
+
Option: N0,
|
|
2604
|
+
Help: I0
|
|
2605
2605
|
} = Bl, Je = (e, t = []) => (
|
|
2606
2606
|
// The up key
|
|
2607
2607
|
e.name === "up" || // Vim keybinding: hjkl keys map to left/down/up/right
|
|
@@ -14884,7 +14884,7 @@ function Fy(e) {
|
|
|
14884
14884
|
}
|
|
14885
14885
|
function Dl(e, t, n) {
|
|
14886
14886
|
const r = n ? `${t}/${n}.yaml` : t, i = Ay(e), o = _y(i);
|
|
14887
|
-
I.writeFileSync(r, o.toString(), "utf-8");
|
|
14887
|
+
I.writeFileSync(r, o.toString({ lineWidth: 0, minContentWidth: 0 }), "utf-8");
|
|
14888
14888
|
}
|
|
14889
14889
|
function Ay(e) {
|
|
14890
14890
|
const t = B.join(e, "openapi.yaml"), n = B.join(e, "manifest.json");
|
|
@@ -14978,11 +14978,11 @@ function Ny(e) {
|
|
|
14978
14978
|
}
|
|
14979
14979
|
function Iy(e) {
|
|
14980
14980
|
const t = e.clone();
|
|
14981
|
-
return t.delete("paths"), t.delete("components"), t.toString({ lineWidth: 0 });
|
|
14981
|
+
return t.delete("paths"), t.delete("components"), t.toString({ lineWidth: 0, minContentWidth: 0 });
|
|
14982
14982
|
}
|
|
14983
14983
|
function ma(e) {
|
|
14984
14984
|
const t = new Ft.Document({});
|
|
14985
|
-
return t.add(t.createPair(e.key, e.value)), t.toString({ lineWidth: 0 });
|
|
14985
|
+
return t.add(t.createPair(e.key, e.value)), t.toString({ lineWidth: 0, minContentWidth: 0 });
|
|
14986
14986
|
}
|
|
14987
14987
|
function yl(e, t) {
|
|
14988
14988
|
const n = I.readFileSync(e, "utf-8");
|
|
@@ -15442,8 +15442,8 @@ const l0 = new V("split").description("Split an OpenAPI spec into separate files
|
|
|
15442
15442
|
} catch (r) {
|
|
15443
15443
|
E.error("Split failed", r), process.exit(1);
|
|
15444
15444
|
}
|
|
15445
|
-
}), c0 = new V("openapi").description("OpenAPI spec tools").addCommand(l0).addCommand(a0).addCommand(s0);
|
|
15446
|
-
new V().name("ai-tools").description("Kode AI Tools CLI").version(
|
|
15445
|
+
}), c0 = new V("openapi").description("OpenAPI spec tools").addCommand(l0).addCommand(a0).addCommand(s0), f0 = "0.2.3";
|
|
15446
|
+
new V().name("ai-tools").description("Kode AI Tools CLI").version(f0).addCommand(c0).addCommand(i0).addCommand(Wy).parse();
|
|
15447
15447
|
export {
|
|
15448
15448
|
Dl as m,
|
|
15449
15449
|
yl as s
|