@kb-labs/cli-commands 2.56.0 → 2.58.0
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 -1
- package/dist/index.js.map +1 -1
- package/package.json +22 -22
package/dist/index.js
CHANGED
|
@@ -1568,6 +1568,8 @@ var version = defineSystemCommand({
|
|
|
1568
1568
|
description: "Show CLI version",
|
|
1569
1569
|
longDescription: "Displays the current version of the KB Labs CLI",
|
|
1570
1570
|
category: "info",
|
|
1571
|
+
// Also accessible as `kb version` (short form without group prefix)
|
|
1572
|
+
aliases: ["version"],
|
|
1571
1573
|
examples: generateExamples("version", "kb", [
|
|
1572
1574
|
{ flags: {} }
|
|
1573
1575
|
]),
|
|
@@ -1616,6 +1618,8 @@ var health = defineSystemCommand({
|
|
|
1616
1618
|
description: "Report overall CLI health snapshot",
|
|
1617
1619
|
longDescription: "Shows the kb.health/1 snapshot shared with REST and Studio.",
|
|
1618
1620
|
category: "info",
|
|
1621
|
+
// Also accessible as `kb health` (short form without group prefix)
|
|
1622
|
+
aliases: ["health"],
|
|
1619
1623
|
examples: generateExamples("health", "kb", [
|
|
1620
1624
|
{ flags: {} },
|
|
1621
1625
|
{ flags: { json: true } }
|
|
@@ -1687,7 +1691,7 @@ var health = defineSystemCommand({
|
|
|
1687
1691
|
items: [
|
|
1688
1692
|
`Status: ${result.healthStatus}`,
|
|
1689
1693
|
`KB Labs: ${snapshot.version.kbLabs}`,
|
|
1690
|
-
`CLI: ${
|
|
1694
|
+
`CLI: ${process.env.CLI_VERSION ?? ctx?.cliVersion ?? "0.0.0"}`,
|
|
1691
1695
|
`REST: ${snapshot.version.rest}`,
|
|
1692
1696
|
`Git: ${gitInfo}`
|
|
1693
1697
|
]
|