@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.
@@ -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.6")
54548
- version = "0.0.6";
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(() => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kevisual/cli",
3
- "version": "0.0.84",
3
+ "version": "0.0.85",
4
4
  "description": "envision 命令行工具",
5
5
  "type": "module",
6
6
  "basename": "/root/cli",