[website] update IDE flag

This commit is contained in:
Lea Anthony
2021-09-29 20:19:14 +10:00
parent 4aa1464b48
commit 0ee3015c7d
3 changed files with 5 additions and 5 deletions

View File

@@ -21,11 +21,11 @@ Wails CLI 有许多用于管理项目的命令。所有命令都以此方式运
| -l | 可用项目模板列表 | |
| -q | 禁止输出到控制台 | |
| -t "template name" | 要使用的项目模板。这可能是在 github 上托管的远程模板的 URL 的名称。 | vanilla |
| -vscode | 生成 VSCode 项目文件 | |
| -ide | 生成 IDE 项目文件 | |
| -f | 强制构建应用 | false |
示例:
`wails init -n test -d mytestproject -g -vscode -q`
`wails init -n test -d mytestproject -g -ide vscode -q`
这将在 "mytestproject" 目录生成一个名为 "test" 的项目,初始化 git生成 vscode 项目文件并静默执行。