@whop/cli 0.16.6 → 0.18.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 +19 -0
- package/dist/index.js +384 -137
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -64,6 +64,17 @@ Commands that act on one account take the business's `biz_` ID or public route p
|
|
|
64
64
|
|
|
65
65
|
In a terminal, commands prompt for missing inputs. Agents and scripts (non-TTY) get a structured validation error instead, so nothing hangs.
|
|
66
66
|
|
|
67
|
+
## Feedback and questions
|
|
68
|
+
|
|
69
|
+
```bash
|
|
70
|
+
whop report-feedback --content "The error message does not explain which permission is missing."
|
|
71
|
+
whop ask-question --content "How do trials interact with an existing subscription?" --format json
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
Both commands submit one observation for Whop's internal review and return a receipt. `ask-question` records an unanswered question; it does not return an answer or start a support conversation. Use a user credential from `whop login` (browser OAuth). Remove secrets, personal data, and payment details from `--content`.
|
|
75
|
+
|
|
76
|
+
Use `--account_id biz_...` to identify the account for an affected resource. Both commands default to your active account when available. Account context is optional.
|
|
77
|
+
|
|
67
78
|
## Ship apps
|
|
68
79
|
|
|
69
80
|
Hosted web apps (`*.whop.site`) follow a git-shaped lifecycle. Two on-ramps, one loop:
|
|
@@ -111,6 +122,14 @@ whop checkout-configurations create --help # shareable, prefilled check
|
|
|
111
122
|
whop stats list # financial, audience, and traffic reporting
|
|
112
123
|
```
|
|
113
124
|
|
|
125
|
+
Set product gallery images or videos with uploaded file IDs:
|
|
126
|
+
|
|
127
|
+
```bash
|
|
128
|
+
whop products update prod_xxxxxxxx --gallery_images '[{"id":"file_xxxxxxxx"}]'
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
`products create` accepts the same option. The array replaces the gallery in display order; include every file you want to keep. Pass `'[]'` to clear it. `banner_image` is separate and does not satisfy the marketplace gallery requirement.
|
|
132
|
+
|
|
114
133
|
Money moves through the same surface: payouts, transfers, deposits, swaps, and cards. Payouts and card issuing require identity verification (`whop verifications`). Steps that need a browser, like KYC, show up as a link to open.
|
|
115
134
|
|
|
116
135
|
## Serve the customers you have
|