@whop/cli 0.17.0 → 0.18.1
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 -0
- package/dist/index.js +511 -30
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -73,6 +73,8 @@ whop ask-question --content "How do trials interact with an existing subscriptio
|
|
|
73
73
|
|
|
74
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
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
|
+
|
|
76
78
|
## Ship apps
|
|
77
79
|
|
|
78
80
|
Hosted web apps (`*.whop.site`) follow a git-shaped lifecycle. Two on-ramps, one loop:
|
|
@@ -120,6 +122,14 @@ whop checkout-configurations create --help # shareable, prefilled check
|
|
|
120
122
|
whop stats list # financial, audience, and traffic reporting
|
|
121
123
|
```
|
|
122
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
|
+
|
|
123
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.
|
|
124
134
|
|
|
125
135
|
## Serve the customers you have
|