@kevisual/cli 0.0.62 → 0.0.63
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/assistant-server.js +2199 -1870
- package/dist/assistant.js +887 -1612
- package/dist/envision.js +2 -14
- package/package.json +1 -1
package/dist/envision.js
CHANGED
|
@@ -40052,8 +40052,8 @@ var {
|
|
|
40052
40052
|
import fs from "fs";
|
|
40053
40053
|
var version = "0.0.1";
|
|
40054
40054
|
try {
|
|
40055
|
-
if ("0.0.
|
|
40056
|
-
version = "0.0.
|
|
40055
|
+
if ("0.0.63")
|
|
40056
|
+
version = "0.0.63";
|
|
40057
40057
|
} catch (e) {}
|
|
40058
40058
|
program.name("app").description("A CLI tool with envison").version(version, "-V, --version");
|
|
40059
40059
|
var ls = new Command("ls").description("List files in the current directory").action(() => {
|
|
@@ -44059,18 +44059,6 @@ var QueryLoginNode = class extends QueryLogin {
|
|
|
44059
44059
|
var config = getConfig();
|
|
44060
44060
|
var baseURL = config?.baseURL || "https://kevisual.cn";
|
|
44061
44061
|
var getBaseURL = () => {
|
|
44062
|
-
if (typeof config?.dev === "undefined") {
|
|
44063
|
-
return baseURL;
|
|
44064
|
-
}
|
|
44065
|
-
if (typeof config?.dev === "string") {
|
|
44066
|
-
if (config?.dev === "true") {
|
|
44067
|
-
return "http://localhost:4002";
|
|
44068
|
-
}
|
|
44069
|
-
return baseURL;
|
|
44070
|
-
}
|
|
44071
|
-
if (config?.dev === true) {
|
|
44072
|
-
return "http://localhost:4002";
|
|
44073
|
-
}
|
|
44074
44062
|
return baseURL;
|
|
44075
44063
|
};
|
|
44076
44064
|
var query = new Query({
|