add shorthand for command line parameter in pake-cli

This commit is contained in:
Tlntin
2023-01-26 10:35:52 +08:00
parent c43e24cfb9
commit e238d242db
4 changed files with 33 additions and 12 deletions

11
bin/README.md vendored
View File

@@ -60,8 +60,11 @@ url 为你需要打包的网页链接 🔗,必须提供。
```shell
--name <value>
# 或者
-n <value>
```
#### [icon]
应用 icon支持本地/远程文件,默认为 Pake 自带图标,定制的可以去 [icon-icons](https://icon-icons.com) 或 [macOSicons](https://macosicons.com/#/) 搜索下载。
@@ -72,6 +75,8 @@ url 为你需要打包的网页链接 🔗,必须提供。
```shell
--icon <path>
# 或者
-i <path>
```
#### [height]
@@ -88,6 +93,8 @@ url 为你需要打包的网页链接 🔗,必须提供。
```shell
--width <number>
# 或者
-w <number>
```
#### [transparent]
@@ -96,6 +103,8 @@ url 为你需要打包的网页链接 🔗,必须提供。
```shell
--transparent
# 或者
-t
```
#### [resize]
@@ -112,4 +121,6 @@ url 为你需要打包的网页链接 🔗,必须提供。
```shell
--fullscreen <value>
# 或者
-f <value>
```