+6
-6
docs/src/content/docs/cli.md
+6
-6
docs/src/content/docs/cli.md
···
136
136
# Pull a site to a specific directory
137
137
wisp-cli pull your-handle.bsky.social \
138
138
--site my-site \
139
-
--output ./my-site
139
+
--path ./my-site
140
140
141
141
# Pull to current directory
142
142
wisp-cli pull your-handle.bsky.social \
···
233
233
### Pull Command
234
234
235
235
```bash
236
-
wisp-cli pull [OPTIONS] <INPUT>
236
+
wisp-cli pull [OPTIONS] --site <SITE> <INPUT>
237
237
238
238
Arguments:
239
239
<INPUT> Handle or DID
240
240
241
241
Options:
242
242
-s, --site <SITE> Site name to download
243
-
-o, --output <OUTPUT> Output directory [default: .]
243
+
-p, --path <PATH> Output directory [default: .]
244
244
-h, --help Print help
245
245
```
246
246
247
247
### Serve Command
248
248
249
249
```bash
250
-
wisp-cli serve [OPTIONS] <INPUT>
250
+
wisp-cli serve [OPTIONS] --site <SITE> <INPUT>
251
251
252
252
Arguments:
253
253
<INPUT> Handle or DID
254
254
255
255
Options:
256
256
-s, --site <SITE> Site name to serve
257
-
-o, --output <OUTPUT> Site files directory [default: .]
258
-
-p, --port <PORT> Port to serve on [default: 8080]
257
+
-p, --path <PATH> Site files directory [default: .]
258
+
-P, --port <PORT> Port to serve on [default: 8080]
259
259
--spa Enable SPA mode (serve index.html for all routes)
260
260
--directory Enable directory listing mode for paths without index files
261
261
-h, --help Print help