@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.
Files changed (2) hide show
  1. package/README.md +4 -0
  2. 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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cnife/flyer",
3
- "version": "0.3.4",
3
+ "version": "0.4.0",
4
4
  "description": "Publish HTML to shareable, expiring, password-protected URLs.",
5
5
  "license": "MIT",
6
6
  "author": "CNife",