goosehost-cli 0.1.4__tar.gz → 1.0.2__tar.gz
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.
- {goosehost_cli-0.1.4 → goosehost_cli-1.0.2}/PKG-INFO +7 -7
- {goosehost_cli-0.1.4 → goosehost_cli-1.0.2}/README.md +231 -231
- {goosehost_cli-0.1.4 → goosehost_cli-1.0.2}/goosehost_cli.egg-info/PKG-INFO +7 -7
- {goosehost_cli-0.1.4 → goosehost_cli-1.0.2}/goosehost_cli.py +404 -404
- {goosehost_cli-0.1.4 → goosehost_cli-1.0.2}/pyproject.toml +21 -21
- {goosehost_cli-0.1.4 → goosehost_cli-1.0.2}/goosehost_cli.egg-info/SOURCES.txt +0 -0
- {goosehost_cli-0.1.4 → goosehost_cli-1.0.2}/goosehost_cli.egg-info/dependency_links.txt +0 -0
- {goosehost_cli-0.1.4 → goosehost_cli-1.0.2}/goosehost_cli.egg-info/entry_points.txt +0 -0
- {goosehost_cli-0.1.4 → goosehost_cli-1.0.2}/goosehost_cli.egg-info/requires.txt +0 -0
- {goosehost_cli-0.1.4 → goosehost_cli-1.0.2}/goosehost_cli.egg-info/top_level.txt +0 -0
- {goosehost_cli-0.1.4 → goosehost_cli-1.0.2}/setup.cfg +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: goosehost-cli
|
|
3
|
-
Version: 0.
|
|
4
|
-
Summary: GooseHost
|
|
5
|
-
Author-email: Minecraft_goose <support@
|
|
3
|
+
Version: 1.0.2
|
|
4
|
+
Summary: GooseHost CLI - static web hosting for Windows
|
|
5
|
+
Author-email: Minecraft_goose <support@goose.gs.cn>
|
|
6
6
|
License: MIT
|
|
7
7
|
Requires-Python: >=3.7
|
|
8
8
|
Description-Content-Type: text/markdown
|
|
@@ -124,7 +124,7 @@ goosehost deploy ./index.html
|
|
|
124
124
|
|
|
125
125
|
```text
|
|
126
126
|
部署成功!
|
|
127
|
-
访问地址: https://page.goose.
|
|
127
|
+
访问地址: https://page.goose.gs.cn/s/my-site
|
|
128
128
|
网站名称: my-site
|
|
129
129
|
```
|
|
130
130
|
|
|
@@ -197,9 +197,9 @@ pip uninstall goosehost-cli
|
|
|
197
197
|
|
|
198
198
|
重启终端。如果还不行,检查 Python 的 Scripts 目录是否在系统 PATH 里。
|
|
199
199
|
|
|
200
|
-
### 部署后访问地址不对(显示 goose.
|
|
200
|
+
### 部署后访问地址不对(显示 goose.gs.cn 而不是 page.goose.gs.cn)?
|
|
201
201
|
|
|
202
|
-
确保你安装的是最新版本(>= 0.
|
|
202
|
+
确保你安装的是最新版本(>= 1.0.2),升级命令:
|
|
203
203
|
|
|
204
204
|
```bash
|
|
205
205
|
pip install --upgrade goosehost-cli
|
|
@@ -1,232 +1,232 @@
|
|
|
1
|
-
# GooseHost CLI
|
|
2
|
-
|
|
3
|
-
在终端里管理 GooseHost 的静态网站,不需要开浏览器。
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## 安装
|
|
8
|
-
|
|
9
|
-
```bash
|
|
10
|
-
pip install goosehost-cli
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
安装后,在终端输入 `goosehost` 就可以用了。
|
|
14
|
-
|
|
15
|
-
---
|
|
16
|
-
|
|
17
|
-
## 快速开始
|
|
18
|
-
|
|
19
|
-
### 1. 登录(只做一次)
|
|
20
|
-
|
|
21
|
-
```bash
|
|
22
|
-
goosehost login --email 你的邮箱 --password 你的密码
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
登录后凭证保存在本地,下次不用再输入。
|
|
26
|
-
|
|
27
|
-
### 2. 部署一个 HTML 文件
|
|
28
|
-
|
|
29
|
-
```bash
|
|
30
|
-
goosehost deploy ./index.html
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
`./index.html` 表示当前目录下的 `index.html` 文件。
|
|
34
|
-
工具会自动用文件名作为网站名称,并在终端显示访问地址。
|
|
35
|
-
|
|
36
|
-
### 3. 查看所有网站
|
|
37
|
-
|
|
38
|
-
```bash
|
|
39
|
-
goosehost list
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
---
|
|
43
|
-
|
|
44
|
-
## 完整命令列表
|
|
45
|
-
|
|
46
|
-
### 登录与账号
|
|
47
|
-
|
|
48
|
-
| 命令 | 说明 |
|
|
49
|
-
|------|------|
|
|
50
|
-
| `goosehost login --email xxx --password xxx` | 登录并保存凭证 |
|
|
51
|
-
| `goosehost logout` | 退出登录(清除本地凭证) |
|
|
52
|
-
| `goosehost register --email xxx --password xxx` | 注册新账号 |
|
|
53
|
-
|
|
54
|
-
### 网站管理
|
|
55
|
-
|
|
56
|
-
| 命令 | 说明 |
|
|
57
|
-
|------|------|
|
|
58
|
-
| `goosehost list` | 列出你的所有网站 |
|
|
59
|
-
| `goosehost create --slug 名称 --type html --file 文件路径` | 从文件创建网站 |
|
|
60
|
-
| `goosehost create --slug 名称 --type html --content "<h1>Hi</h1>"` | 直接从文字创建网站 |
|
|
61
|
-
| `goosehost get --slug 网站名称` | 查看html内容 |
|
|
62
|
-
| `goosehost get --slug md/markdown网站名称` | 查看markdown内容 |
|
|
63
|
-
| `goosehost get --slug 网站名称 --output 保存路径` | 下载html内容到本地文件 |
|
|
64
|
-
| `goosehost get --slug md/网站名称 --output 保存路径` | 下载markdown内容到本地文件 |
|
|
65
|
-
| `goosehost update --slug 网站名称 --file 文件路径` | 用本地html文件更新 |
|
|
66
|
-
| `goosehost update --slug md/网站名称 --file 文件路径` | 用本地markdown文件更新 |
|
|
67
|
-
| `goosehost update --slug 网站名称 --content "新内容"` | 直接更新内容(markdown站点需加md/前缀,不建议使用此命令) |
|
|
68
|
-
| `goosehost delete --slug 网站名称 --force` | 删除html网站(需要加 `--force`) |
|
|
69
|
-
| `goosehost delete --slug md/网站名称 --force` | 删除markdown网站(需要加 `--force`) |
|
|
70
|
-
|
|
71
|
-
### 快捷部署
|
|
72
|
-
|
|
73
|
-
| 命令 | 说明 |
|
|
74
|
-
|------|------|
|
|
75
|
-
| `goosehost deploy ./文件.html` | 部署 HTML 文件(自动起名) |
|
|
76
|
-
| `goosehost deploy ./文件.md` | 部署 Markdown 文件(自动起名) |
|
|
77
|
-
| `goosehost deploy ./文件.html --slug 自定义名称` | 部署并指定网站名称 |
|
|
78
|
-
|
|
79
|
-
### 其他
|
|
80
|
-
|
|
81
|
-
| 命令 | 说明 |
|
|
82
|
-
|------|------|
|
|
83
|
-
| `goosehost config` | 查看当前登录状态和配置 |
|
|
84
|
-
| `goosehost --help` | 查看所有命令的帮助 |
|
|
85
|
-
|
|
86
|
-
---
|
|
87
|
-
|
|
88
|
-
## 文件路径怎么写
|
|
89
|
-
|
|
90
|
-
在命令中,所有 `--file` 和 `--output` 后面的路径都支持两种写法:
|
|
91
|
-
|
|
92
|
-
- **相对路径**:相对于当前终端所在的目录
|
|
93
|
-
例如:`./index.html`、`backup.html`、`../my-site/index.html`
|
|
94
|
-
|
|
95
|
-
- **绝对路径**:从磁盘根目录开始的完整路径
|
|
96
|
-
例如:`D:/my-site/index.html`、`C:\Users\Administrator\backup.html`
|
|
97
|
-
|
|
98
|
-
如果不确定当前终端在哪个目录,可以输入:
|
|
99
|
-
|
|
100
|
-
- Windows:`cd`
|
|
101
|
-
- Mac/Linux:`pwd`
|
|
102
|
-
|
|
103
|
-
---
|
|
104
|
-
|
|
105
|
-
## 常用操作示例
|
|
106
|
-
|
|
107
|
-
### 部署当前文件夹里的首页
|
|
108
|
-
|
|
109
|
-
```bash
|
|
110
|
-
goosehost deploy ./index.html
|
|
111
|
-
```
|
|
112
|
-
|
|
113
|
-
输出示例:
|
|
114
|
-
|
|
115
|
-
```text
|
|
116
|
-
部署成功!
|
|
117
|
-
访问地址: https://page.goose.
|
|
118
|
-
网站名称: my-site
|
|
119
|
-
```
|
|
120
|
-
|
|
121
|
-
### 直接用文字创建一个 Markdown 网站
|
|
122
|
-
|
|
123
|
-
```bash
|
|
124
|
-
goosehost create --slug my-doc --type md --content "# 我的文档\n\n这是内容"
|
|
125
|
-
```
|
|
126
|
-
|
|
127
|
-
### 把线上网站下载到本地修改
|
|
128
|
-
|
|
129
|
-
**第一步:下载到当前目录**
|
|
130
|
-
|
|
131
|
-
```bash
|
|
132
|
-
goosehost get --slug my-site --output backup.html
|
|
133
|
-
```
|
|
134
|
-
|
|
135
|
-
下载后,当前目录会多出一个 `backup.html` 文件。
|
|
136
|
-
如果你想保存到其他文件夹,可以写完整路径:
|
|
137
|
-
|
|
138
|
-
```bash
|
|
139
|
-
goosehost get --slug my-site --output D:/my-backup/index.html
|
|
140
|
-
```
|
|
141
|
-
|
|
142
|
-
**第二步:用编辑器修改 `backup.html`**
|
|
143
|
-
|
|
144
|
-
**第三步:传回去**
|
|
145
|
-
|
|
146
|
-
```bash
|
|
147
|
-
goosehost update --slug my-site --file backup.html
|
|
148
|
-
```
|
|
149
|
-
|
|
150
|
-
如果文件在其他路径,就填完整路径:
|
|
151
|
-
|
|
152
|
-
```bash
|
|
153
|
-
goosehost update --slug my-site --file D:/my-backup/index.html
|
|
154
|
-
```
|
|
155
|
-
|
|
156
|
-
### 查看网站内容(不保存,只显示)
|
|
157
|
-
|
|
158
|
-
```bash
|
|
159
|
-
goosehost get --slug my-site
|
|
160
|
-
```
|
|
161
|
-
|
|
162
|
-
终端会直接打印出网站的全部代码。
|
|
163
|
-
|
|
164
|
-
### 删除一个网站
|
|
165
|
-
|
|
166
|
-
```bash
|
|
167
|
-
goosehost delete --slug my-site --force
|
|
168
|
-
```
|
|
169
|
-
|
|
170
|
-
---
|
|
171
|
-
|
|
172
|
-
## 卸载
|
|
173
|
-
|
|
174
|
-
```bash
|
|
175
|
-
pip uninstall goosehost-cli
|
|
176
|
-
```
|
|
177
|
-
|
|
178
|
-
---
|
|
179
|
-
|
|
180
|
-
## 常见问题
|
|
181
|
-
|
|
182
|
-
### 登录后每次都要重新登录吗?
|
|
183
|
-
|
|
184
|
-
不用。凭证保存在本地,下次打开终端会自动生效。
|
|
185
|
-
|
|
186
|
-
### 安装后输入 `goosehost` 提示找不到命令?
|
|
187
|
-
|
|
188
|
-
重启终端。如果还不行,检查 Python 的 Scripts 目录是否在系统 PATH 里。
|
|
189
|
-
|
|
190
|
-
### 部署后访问地址不对(显示 goose.
|
|
191
|
-
|
|
192
|
-
确保你安装的是最新版本(>= 0.
|
|
193
|
-
|
|
194
|
-
```bash
|
|
195
|
-
pip install --upgrade goosehost-cli
|
|
196
|
-
```
|
|
197
|
-
|
|
198
|
-
### 用 `pip install goosehost-cli` 安装的不是最新版?
|
|
199
|
-
|
|
200
|
-
国内镜像可能有延迟,临时从官方源安装:
|
|
201
|
-
|
|
202
|
-
```bash
|
|
203
|
-
pip install -i https://pypi.org/simple goosehost-cli
|
|
204
|
-
```
|
|
205
|
-
|
|
206
|
-
### `--output` 不填会怎样?
|
|
207
|
-
|
|
208
|
-
内容会直接打印在终端,不会保存成文件。
|
|
209
|
-
|
|
210
|
-
### 为什么删除网站必须加 `--force`?
|
|
211
|
-
|
|
212
|
-
防止手滑误删。确认你真的要删,再加 `--force`。
|
|
213
|
-
|
|
214
|
-
---
|
|
215
|
-
|
|
216
|
-
## 更多帮助
|
|
217
|
-
|
|
218
|
-
查看所有命令:
|
|
219
|
-
|
|
220
|
-
```bash
|
|
221
|
-
goosehost --help
|
|
222
|
-
```
|
|
223
|
-
|
|
224
|
-
查看某个命令的详细用法,例如:
|
|
225
|
-
|
|
226
|
-
```bash
|
|
227
|
-
goosehost create --help
|
|
228
|
-
```
|
|
229
|
-
|
|
230
|
-
---
|
|
231
|
-
|
|
1
|
+
# GooseHost CLI
|
|
2
|
+
|
|
3
|
+
在终端里管理 GooseHost 的静态网站,不需要开浏览器。
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## 安装
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
pip install goosehost-cli
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
安装后,在终端输入 `goosehost` 就可以用了。
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## 快速开始
|
|
18
|
+
|
|
19
|
+
### 1. 登录(只做一次)
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
goosehost login --email 你的邮箱 --password 你的密码
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
登录后凭证保存在本地,下次不用再输入。
|
|
26
|
+
|
|
27
|
+
### 2. 部署一个 HTML 文件
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
goosehost deploy ./index.html
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
`./index.html` 表示当前目录下的 `index.html` 文件。
|
|
34
|
+
工具会自动用文件名作为网站名称,并在终端显示访问地址。
|
|
35
|
+
|
|
36
|
+
### 3. 查看所有网站
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
goosehost list
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
44
|
+
## 完整命令列表
|
|
45
|
+
|
|
46
|
+
### 登录与账号
|
|
47
|
+
|
|
48
|
+
| 命令 | 说明 |
|
|
49
|
+
|------|------|
|
|
50
|
+
| `goosehost login --email xxx --password xxx` | 登录并保存凭证 |
|
|
51
|
+
| `goosehost logout` | 退出登录(清除本地凭证) |
|
|
52
|
+
| `goosehost register --email xxx --password xxx` | 注册新账号 |
|
|
53
|
+
|
|
54
|
+
### 网站管理
|
|
55
|
+
|
|
56
|
+
| 命令 | 说明 |
|
|
57
|
+
|------|------|
|
|
58
|
+
| `goosehost list` | 列出你的所有网站 |
|
|
59
|
+
| `goosehost create --slug 名称 --type html --file 文件路径` | 从文件创建网站 |
|
|
60
|
+
| `goosehost create --slug 名称 --type html --content "<h1>Hi</h1>"` | 直接从文字创建网站 |
|
|
61
|
+
| `goosehost get --slug 网站名称` | 查看html内容 |
|
|
62
|
+
| `goosehost get --slug md/markdown网站名称` | 查看markdown内容 |
|
|
63
|
+
| `goosehost get --slug 网站名称 --output 保存路径` | 下载html内容到本地文件 |
|
|
64
|
+
| `goosehost get --slug md/网站名称 --output 保存路径` | 下载markdown内容到本地文件 |
|
|
65
|
+
| `goosehost update --slug 网站名称 --file 文件路径` | 用本地html文件更新 |
|
|
66
|
+
| `goosehost update --slug md/网站名称 --file 文件路径` | 用本地markdown文件更新 |
|
|
67
|
+
| `goosehost update --slug 网站名称 --content "新内容"` | 直接更新内容(markdown站点需加md/前缀,不建议使用此命令) |
|
|
68
|
+
| `goosehost delete --slug 网站名称 --force` | 删除html网站(需要加 `--force`) |
|
|
69
|
+
| `goosehost delete --slug md/网站名称 --force` | 删除markdown网站(需要加 `--force`) |
|
|
70
|
+
|
|
71
|
+
### 快捷部署
|
|
72
|
+
|
|
73
|
+
| 命令 | 说明 |
|
|
74
|
+
|------|------|
|
|
75
|
+
| `goosehost deploy ./文件.html` | 部署 HTML 文件(自动起名) |
|
|
76
|
+
| `goosehost deploy ./文件.md` | 部署 Markdown 文件(自动起名) |
|
|
77
|
+
| `goosehost deploy ./文件.html --slug 自定义名称` | 部署并指定网站名称 |
|
|
78
|
+
|
|
79
|
+
### 其他
|
|
80
|
+
|
|
81
|
+
| 命令 | 说明 |
|
|
82
|
+
|------|------|
|
|
83
|
+
| `goosehost config` | 查看当前登录状态和配置 |
|
|
84
|
+
| `goosehost --help` | 查看所有命令的帮助 |
|
|
85
|
+
|
|
86
|
+
---
|
|
87
|
+
|
|
88
|
+
## 文件路径怎么写
|
|
89
|
+
|
|
90
|
+
在命令中,所有 `--file` 和 `--output` 后面的路径都支持两种写法:
|
|
91
|
+
|
|
92
|
+
- **相对路径**:相对于当前终端所在的目录
|
|
93
|
+
例如:`./index.html`、`backup.html`、`../my-site/index.html`
|
|
94
|
+
|
|
95
|
+
- **绝对路径**:从磁盘根目录开始的完整路径
|
|
96
|
+
例如:`D:/my-site/index.html`、`C:\Users\Administrator\backup.html`
|
|
97
|
+
|
|
98
|
+
如果不确定当前终端在哪个目录,可以输入:
|
|
99
|
+
|
|
100
|
+
- Windows:`cd`
|
|
101
|
+
- Mac/Linux:`pwd`
|
|
102
|
+
|
|
103
|
+
---
|
|
104
|
+
|
|
105
|
+
## 常用操作示例
|
|
106
|
+
|
|
107
|
+
### 部署当前文件夹里的首页
|
|
108
|
+
|
|
109
|
+
```bash
|
|
110
|
+
goosehost deploy ./index.html
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
输出示例:
|
|
114
|
+
|
|
115
|
+
```text
|
|
116
|
+
部署成功!
|
|
117
|
+
访问地址: https://page.goose.gs.cn/s/my-site
|
|
118
|
+
网站名称: my-site
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
### 直接用文字创建一个 Markdown 网站
|
|
122
|
+
|
|
123
|
+
```bash
|
|
124
|
+
goosehost create --slug my-doc --type md --content "# 我的文档\n\n这是内容"
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
### 把线上网站下载到本地修改
|
|
128
|
+
|
|
129
|
+
**第一步:下载到当前目录**
|
|
130
|
+
|
|
131
|
+
```bash
|
|
132
|
+
goosehost get --slug my-site --output backup.html
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
下载后,当前目录会多出一个 `backup.html` 文件。
|
|
136
|
+
如果你想保存到其他文件夹,可以写完整路径:
|
|
137
|
+
|
|
138
|
+
```bash
|
|
139
|
+
goosehost get --slug my-site --output D:/my-backup/index.html
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
**第二步:用编辑器修改 `backup.html`**
|
|
143
|
+
|
|
144
|
+
**第三步:传回去**
|
|
145
|
+
|
|
146
|
+
```bash
|
|
147
|
+
goosehost update --slug my-site --file backup.html
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
如果文件在其他路径,就填完整路径:
|
|
151
|
+
|
|
152
|
+
```bash
|
|
153
|
+
goosehost update --slug my-site --file D:/my-backup/index.html
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
### 查看网站内容(不保存,只显示)
|
|
157
|
+
|
|
158
|
+
```bash
|
|
159
|
+
goosehost get --slug my-site
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
终端会直接打印出网站的全部代码。
|
|
163
|
+
|
|
164
|
+
### 删除一个网站
|
|
165
|
+
|
|
166
|
+
```bash
|
|
167
|
+
goosehost delete --slug my-site --force
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
---
|
|
171
|
+
|
|
172
|
+
## 卸载
|
|
173
|
+
|
|
174
|
+
```bash
|
|
175
|
+
pip uninstall goosehost-cli
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
---
|
|
179
|
+
|
|
180
|
+
## 常见问题
|
|
181
|
+
|
|
182
|
+
### 登录后每次都要重新登录吗?
|
|
183
|
+
|
|
184
|
+
不用。凭证保存在本地,下次打开终端会自动生效。
|
|
185
|
+
|
|
186
|
+
### 安装后输入 `goosehost` 提示找不到命令?
|
|
187
|
+
|
|
188
|
+
重启终端。如果还不行,检查 Python 的 Scripts 目录是否在系统 PATH 里。
|
|
189
|
+
|
|
190
|
+
### 部署后访问地址不对(显示 goose.gs.cn 而不是 page.goose.gs.cn)?
|
|
191
|
+
|
|
192
|
+
确保你安装的是最新版本(>= 1.0.2),升级命令:
|
|
193
|
+
|
|
194
|
+
```bash
|
|
195
|
+
pip install --upgrade goosehost-cli
|
|
196
|
+
```
|
|
197
|
+
|
|
198
|
+
### 用 `pip install goosehost-cli` 安装的不是最新版?
|
|
199
|
+
|
|
200
|
+
国内镜像可能有延迟,临时从官方源安装:
|
|
201
|
+
|
|
202
|
+
```bash
|
|
203
|
+
pip install -i https://pypi.org/simple goosehost-cli
|
|
204
|
+
```
|
|
205
|
+
|
|
206
|
+
### `--output` 不填会怎样?
|
|
207
|
+
|
|
208
|
+
内容会直接打印在终端,不会保存成文件。
|
|
209
|
+
|
|
210
|
+
### 为什么删除网站必须加 `--force`?
|
|
211
|
+
|
|
212
|
+
防止手滑误删。确认你真的要删,再加 `--force`。
|
|
213
|
+
|
|
214
|
+
---
|
|
215
|
+
|
|
216
|
+
## 更多帮助
|
|
217
|
+
|
|
218
|
+
查看所有命令:
|
|
219
|
+
|
|
220
|
+
```bash
|
|
221
|
+
goosehost --help
|
|
222
|
+
```
|
|
223
|
+
|
|
224
|
+
查看某个命令的详细用法,例如:
|
|
225
|
+
|
|
226
|
+
```bash
|
|
227
|
+
goosehost create --help
|
|
228
|
+
```
|
|
229
|
+
|
|
230
|
+
---
|
|
231
|
+
|
|
232
232
|
**Enjoy your static sites! 🚀**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: goosehost-cli
|
|
3
|
-
Version: 0.
|
|
4
|
-
Summary: GooseHost
|
|
5
|
-
Author-email: Minecraft_goose <support@
|
|
3
|
+
Version: 1.0.2
|
|
4
|
+
Summary: GooseHost CLI - static web hosting for Windows
|
|
5
|
+
Author-email: Minecraft_goose <support@goose.gs.cn>
|
|
6
6
|
License: MIT
|
|
7
7
|
Requires-Python: >=3.7
|
|
8
8
|
Description-Content-Type: text/markdown
|
|
@@ -124,7 +124,7 @@ goosehost deploy ./index.html
|
|
|
124
124
|
|
|
125
125
|
```text
|
|
126
126
|
部署成功!
|
|
127
|
-
访问地址: https://page.goose.
|
|
127
|
+
访问地址: https://page.goose.gs.cn/s/my-site
|
|
128
128
|
网站名称: my-site
|
|
129
129
|
```
|
|
130
130
|
|
|
@@ -197,9 +197,9 @@ pip uninstall goosehost-cli
|
|
|
197
197
|
|
|
198
198
|
重启终端。如果还不行,检查 Python 的 Scripts 目录是否在系统 PATH 里。
|
|
199
199
|
|
|
200
|
-
### 部署后访问地址不对(显示 goose.
|
|
200
|
+
### 部署后访问地址不对(显示 goose.gs.cn 而不是 page.goose.gs.cn)?
|
|
201
201
|
|
|
202
|
-
确保你安装的是最新版本(>= 0.
|
|
202
|
+
确保你安装的是最新版本(>= 1.0.2),升级命令:
|
|
203
203
|
|
|
204
204
|
```bash
|
|
205
205
|
pip install --upgrade goosehost-cli
|