@kevisual/cli 0.0.84 → 0.0.85
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 +1 -1
- package/dist/assistant.js +2 -2
- package/package.json +1 -1
package/dist/assistant-server.js
CHANGED
|
@@ -105558,7 +105558,7 @@ program.description("启动服务").option("-d, --daemon", "是否以守护进
|
|
|
105558
105558
|
} else if (options.start) {
|
|
105559
105559
|
console.log("启动服务", source_default.green(assistantConfig2.configDir));
|
|
105560
105560
|
const config2 = assistantConfig2.getCacheAssistantConfig();
|
|
105561
|
-
const listenPort = options.port || config2?.server?.port;
|
|
105561
|
+
const listenPort = parseInt(options.port || config2?.server?.port);
|
|
105562
105562
|
const listenPath = config2?.server?.path || "::";
|
|
105563
105563
|
const server = await runServer(listenPort, listenPath);
|
|
105564
105564
|
} else {
|
package/dist/assistant.js
CHANGED
|
@@ -54544,8 +54544,8 @@ var assistantConfig2 = new AssistantConfig({
|
|
|
54544
54544
|
import fs8 from "fs";
|
|
54545
54545
|
var version = "0.0.1";
|
|
54546
54546
|
try {
|
|
54547
|
-
if ("0.0.
|
|
54548
|
-
version = "0.0.
|
|
54547
|
+
if ("0.0.7")
|
|
54548
|
+
version = "0.0.7";
|
|
54549
54549
|
} catch (e) {}
|
|
54550
54550
|
program.name("asst").description("A CLI tool with envison").version(version, "-v, --version", "output the current version");
|
|
54551
54551
|
var ls = new Command("ls").description("List files in the current directory").action(() => {
|