@vendian/cli 0.0.3 → 0.0.5
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/cli-wrapper.cjs +6 -2
- package/package.json +1 -1
package/cli-wrapper.cjs
CHANGED
|
@@ -815,7 +815,11 @@ function cloudAuthLoginCommand({ backend, apiUrl } = {}) {
|
|
|
815
815
|
var import_node_fs8 = __toESM(require("node:fs"), 1);
|
|
816
816
|
var import_node_readline = __toESM(require("node:readline"), 1);
|
|
817
817
|
var import_promises = __toESM(require("node:readline/promises"), 1);
|
|
818
|
-
|
|
818
|
+
|
|
819
|
+
// src/version.js
|
|
820
|
+
var CLI_VERSION = true ? "0.0.5" : process.env.npm_package_version || "0.0.0-dev";
|
|
821
|
+
|
|
822
|
+
// src/tui.js
|
|
819
823
|
var RESET = "\x1B[0m";
|
|
820
824
|
var BOLD = "\x1B[1m";
|
|
821
825
|
var DIM = "\x1B[2m";
|
|
@@ -1088,7 +1092,7 @@ async function main(argv) {
|
|
|
1088
1092
|
return;
|
|
1089
1093
|
}
|
|
1090
1094
|
if (command === "--version" || command === "version") {
|
|
1091
|
-
console.log(
|
|
1095
|
+
console.log(CLI_VERSION);
|
|
1092
1096
|
return;
|
|
1093
1097
|
}
|
|
1094
1098
|
if (isBootstrapCommand(command)) {
|