@blotout/qinto-cli 0.1.14 → 0.1.15
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 +11 -3
- package/dist/index.js +837 -815
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -268,6 +268,7 @@ are namespaced by its slug, so two apps declaring a `d1` called `ledger` get a d
|
|
|
268
268
|
| `--reset` | Discard this directory's local installs, variables, secrets and stored data first. |
|
|
269
269
|
| `--tunnel` | Expose the site worker on a fresh `trycloudflare.com` hostname, so a vendor webhook can reach its endpoints. |
|
|
270
270
|
| `--tunnel-name <name>` | Expose it through this named Cloudflare Tunnel instead, for a hostname that survives a restart. |
|
|
271
|
+
| `--tunnel-hours <hours>` | Close the tunnel after this many hours, instead of leaving it open until `app dev` stops. |
|
|
271
272
|
| `--no-input` | Disable all interactive prompts, mounting every app found. |
|
|
272
273
|
|
|
273
274
|
All four listeners bind `127.0.0.1` only.
|
|
@@ -300,9 +301,16 @@ register with the vendor and keeps the loopback one beside it for `curl`.
|
|
|
300
301
|
|
|
301
302
|
`cloudflared` is downloaded and cached on first use, unless you already have one on `PATH` or at `CLOUDFLARED_PATH`.
|
|
302
303
|
|
|
303
|
-
**The tunnel closes
|
|
304
|
-
|
|
305
|
-
|
|
304
|
+
**The tunnel closes when `app dev` does.** It is a public door onto your machine, so quitting `dev` is what shuts it: there is no
|
|
305
|
+
separate clock, and a session left running overnight holds the door open until you stop it. Cloudflare places no limit of its own,
|
|
306
|
+
so a named tunnel will happily run for days.
|
|
307
|
+
|
|
308
|
+
**`--tunnel-hours <hours>` closes it earlier.** Give it a deadline and `dev` says how long is left every ten minutes; press `a`
|
|
309
|
+
then Enter to add an hour, as often as you like. When it closes, the public URL stops being advertised and the loopback one
|
|
310
|
+
carries on. Fractions work, so `--tunnel-hours 0.5` is half an hour. Nothing caps the number.
|
|
311
|
+
|
|
312
|
+
For a run measured in days, use `--tunnel-name`. Cloudflare gives `trycloudflare.com` no uptime guarantee and caps it at 200
|
|
313
|
+
in-flight requests, so a quick tunnel is a debug aid rather than something to leave up over a weekend.
|
|
306
314
|
|
|
307
315
|
**A hostname that survives a restart — `--tunnel-name <name>`.** A quick tunnel is free and needs no account, but its hostname is
|
|
308
316
|
new on every run, so a vendor has to be told the new one each time. A named tunnel keeps one hostname. `dev` reads it from **your
|