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