@whop/cli 0.16.3 → 0.17.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 CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  ```bash
6
6
  whop accounts create --title "Acme" # create a business
7
- whop apps deploy # ship a web app to *.whop.app
7
+ whop apps deploy # ship a web app to *.whop.site
8
8
  whop products create --title "Pro membership" # something to sell
9
9
  whop checkout-configurations create --plan_id plan_xxx # a link that accepts money
10
10
  whop media generate --type image --prompt "launch art" # make an ad creative
@@ -15,7 +15,7 @@ whop stats list # how it's all going
15
15
 
16
16
  With the CLI you can:
17
17
 
18
- - **Ship software**: build and deploy hosted web apps to `*.whop.app`, with previews, rollbacks, secrets, and production logs
18
+ - **Ship software**: build and deploy hosted web apps to `*.whop.site`, with previews, rollbacks, secrets, and production logs
19
19
  - **Sell anything**: products, one-time / recurring / trial pricing, checkout links
20
20
  - **Move money**: payouts, transfers, deposits, currency swaps, spending cards
21
21
  - **Advertise**: generate AI images and video, run Meta or Tiktok campaigns
@@ -64,9 +64,18 @@ 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
+
67
76
  ## Ship apps
68
77
 
69
- Hosted web apps (`*.whop.app`) follow a git-shaped lifecycle. Two on-ramps, one loop:
78
+ Hosted web apps (`*.whop.site`) follow a git-shaped lifecycle. Two on-ramps, one loop:
70
79
 
71
80
  ```bash
72
81
  whop apps init # start a NEW app: registers, scaffolds, git-inits
@@ -79,7 +88,7 @@ whop apps deploy # build, typecheck, upload, promote to product
79
88
 
80
89
  `deploy --preview` uploads without promoting. `whop apps builds promote <build_id>` ships a build later, and promoting an older build rolls back. `pull` merges the deployed source with your local files via git, so conflicts show up as normal git conflict markers.
81
90
 
82
- The rest is plain REST: `whop apps list|create|get|update`, `whop apps builds list|get|promote`, `whop apps secrets list|set|unset`. The `whop()` Vite build plugin ships as `@whop/cli/vite`.
91
+ The rest is plain REST: `whop apps list|create|get|update|delete`, `whop apps builds list|get|promote`, `whop apps secrets list|set|unset`. The `whop()` Vite build plugin ships as `@whop/cli/vite`.
83
92
 
84
93
  App secrets are encrypted at rest and injected into the hosted runtime. `whop apps dev` also injects them locally, except names that control the local runtime.
85
94
 
@@ -147,6 +156,15 @@ whop ad-campaigns update <adcamp_id> --status active # launch when ready
147
156
 
148
157
  The `whop` skill (`whop skills add`) carries the launch playbook in `references/ads.md`.
149
158
 
159
+ ## Run experiments
160
+
161
+ Use `whop experiments` to list, create, get, update, evaluate exposures, activate, pause, or end account experiments. Account experiments do not accept or require tags. Creating one currently requires Whop internal access.
162
+
163
+ ```bash
164
+ whop experiments list --account_id biz_xxx
165
+ whop experiments create --help
166
+ ```
167
+
150
168
  ## Hire a workforce
151
169
 
152
170
  ```bash
@@ -163,7 +181,7 @@ whop files create --filename "banner.png"
163
181
  whop files get file_xxxxxxxxxxxxx
164
182
  ```
165
183
 
166
- `create` returns a presigned `upload_url` and `upload_headers`. Upload the bytes there, then `get` returns the file URL once it's ready.
184
+ `create` returns a presigned `upload_url` and `upload_headers`. Upload the bytes there, then `get` returns the file URL once it's ready. `list` shows your uploads, and `complete` finishes a multipart upload once every part is in.
167
185
 
168
186
  ## For AI agents
169
187