@cnife/flyer 0.3.4 → 0.4.0
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.
- package/README.md +4 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -17,10 +17,14 @@ flyer publish report.html --ttl 24h
|
|
|
17
17
|
flyer publish report.html --permanent
|
|
18
18
|
flyer publish report.html --password secret
|
|
19
19
|
cat report.html | flyer publish -
|
|
20
|
+
flyer update <url-or-slug> report.html
|
|
21
|
+
flyer update <url-or-slug> report.html --ttl 24h
|
|
20
22
|
```
|
|
21
23
|
|
|
22
24
|
`stdout` is only the URL; metadata and the QR code go to `stderr`. Use `--no-qr` in scripts and `--json` for structured output.
|
|
23
25
|
|
|
26
|
+
`update` replaces the HTML at the same URL; the slug and link do not change. Omitted metadata keeps its current value.
|
|
27
|
+
|
|
24
28
|
Connect to a server:
|
|
25
29
|
|
|
26
30
|
```bash
|