@wagq/wa-cli 0.6.6 → 0.6.10

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/README.md CHANGED
@@ -17,7 +17,8 @@
17
17
  wa server [path]
18
18
  ```
19
19
  可选参数
20
- -P 指定端口
20
+ -P 3000 指定端口
21
+ -S true 开启https
21
22
 
22
23
  - 转换 xlsx 文件为多语言配置
23
24
  wa xlsx2Config [path] [name] [ext]
@@ -23,7 +23,7 @@ const server = async(filePath, argv) => {
23
23
 
24
24
  try {
25
25
  const args = [filePath, '-p', port.toString()];
26
- if (https) {
26
+ if (https === 'true') {
27
27
  const { cert, private } = await Prompt.default.prompt(sslQuestions());
28
28
  args.push('-S', '-C', `${cert}`, '-K', `${private}`);
29
29
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wagq/wa-cli",
3
- "version": "0.6.6",
3
+ "version": "0.6.10",
4
4
  "description": "wa的脚手架",
5
5
  "main": "index.js",
6
6
  "scripts": {