@dropthis/cli 0.10.0 → 0.12.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 +10 -6
- package/dist/cli.cjs +774 -86
- package/dist/cli.cjs.map +1 -1
- package/node_modules/@dropthis/node/README.md +48 -1
- package/node_modules/@dropthis/node/dist/{drops-D0MLPPF9.d.cts → drops-DEJcU6qw.d.cts} +130 -3
- package/node_modules/@dropthis/node/dist/{drops-D0MLPPF9.d.ts → drops-DEJcU6qw.d.ts} +130 -3
- package/node_modules/@dropthis/node/dist/edge.cjs +82 -3
- package/node_modules/@dropthis/node/dist/edge.cjs.map +1 -1
- package/node_modules/@dropthis/node/dist/edge.d.cts +3 -1
- package/node_modules/@dropthis/node/dist/edge.d.ts +3 -1
- package/node_modules/@dropthis/node/dist/edge.mjs +82 -3
- package/node_modules/@dropthis/node/dist/edge.mjs.map +1 -1
- package/node_modules/@dropthis/node/dist/index.cjs +84 -3
- package/node_modules/@dropthis/node/dist/index.cjs.map +1 -1
- package/node_modules/@dropthis/node/dist/index.d.cts +5 -3
- package/node_modules/@dropthis/node/dist/index.d.ts +5 -3
- package/node_modules/@dropthis/node/dist/index.mjs +83 -3
- package/node_modules/@dropthis/node/dist/index.mjs.map +1 -1
- package/node_modules/@dropthis/node/package.json +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -177,10 +177,10 @@ dropthis publish [input...] # Same as above, explicit form
|
|
|
177
177
|
|
|
178
178
|
dropthis update-content <drop-id> [input] # Replace a drop's content (same URL)
|
|
179
179
|
dropthis update-settings <drop-id> # Change title/visibility/password/expiry/metadata
|
|
180
|
-
dropthis pull <id|url> [-o <dir>]
|
|
181
|
-
dropthis get <
|
|
180
|
+
dropthis pull <id|url|slug> [-o <dir>] # Download a drop's files to a local directory
|
|
181
|
+
dropthis get <id|url|slug> # Show drop details
|
|
182
182
|
dropthis list # List your drops
|
|
183
|
-
dropthis delete <
|
|
183
|
+
dropthis delete <id|url|slug> # Delete a drop (--yes to confirm)
|
|
184
184
|
|
|
185
185
|
dropthis deployments # View deployment history
|
|
186
186
|
|
|
@@ -233,8 +233,10 @@ dropthis publish ./dist --url
|
|
|
233
233
|
| 1 | API or generic error |
|
|
234
234
|
| 2 | Invalid usage |
|
|
235
235
|
| 3 | Auth required |
|
|
236
|
-
| 4 | Local input error |
|
|
237
|
-
| 5 | Network error |
|
|
236
|
+
| 4 | Local input error (file or directory not found, too many files) |
|
|
237
|
+
| 5 | Network error (could not reach the API) |
|
|
238
|
+
| 6 | Domain verification pending (`domains verify` one-shot, not live yet) |
|
|
239
|
+
| 7 | Domain verification timeout (`domains verify --wait` exceeded `--timeout`) |
|
|
238
240
|
|
|
239
241
|
**JSON output shape:**
|
|
240
242
|
|
|
@@ -266,7 +268,9 @@ Reports CLI version, auth source (`env`, `flag`, `storage`, or `missing`), and c
|
|
|
266
268
|
|
|
267
269
|
- **Free ($0)** — drops expire after 7 days, 5 MB per drop, dropthis badge.
|
|
268
270
|
- **Personal ($5/mo)** — drops stay live while subscribed (no expiry), no badge, 100 MB per drop, 2 GB account storage.
|
|
269
|
-
- **Pro ($19/mo)** — everything in Personal plus password protection
|
|
271
|
+
- **Pro ($19/mo)** — everything in Personal plus password protection and analytics.
|
|
272
|
+
|
|
273
|
+
Custom domains (`dropthis domains`) are available on every tier — they are not plan-gated.
|
|
270
274
|
|
|
271
275
|
`dropthis account` shows your active tier and its limits. Note: password protection ships with Pro and is not enabled on any tier yet — the API rejects the `--password` option until then.
|
|
272
276
|
|