@whop/cli 0.16.2 → 0.16.6

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
@@ -66,7 +66,7 @@ In a terminal, commands prompt for missing inputs. Agents and scripts (non-TTY)
66
66
 
67
67
  ## Ship apps
68
68
 
69
- Hosted web apps (`*.whop.app`) follow a git-shaped lifecycle. Two on-ramps, one loop:
69
+ Hosted web apps (`*.whop.site`) follow a git-shaped lifecycle. Two on-ramps, one loop:
70
70
 
71
71
  ```bash
72
72
  whop apps init # start a NEW app: registers, scaffolds, git-inits
@@ -79,7 +79,7 @@ whop apps deploy # build, typecheck, upload, promote to product
79
79
 
80
80
  `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
81
 
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`.
82
+ 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
83
 
84
84
  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
85
 
@@ -147,6 +147,15 @@ whop ad-campaigns update <adcamp_id> --status active # launch when ready
147
147
 
148
148
  The `whop` skill (`whop skills add`) carries the launch playbook in `references/ads.md`.
149
149
 
150
+ ## Run experiments
151
+
152
+ 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.
153
+
154
+ ```bash
155
+ whop experiments list --account_id biz_xxx
156
+ whop experiments create --help
157
+ ```
158
+
150
159
  ## Hire a workforce
151
160
 
152
161
  ```bash
@@ -163,7 +172,7 @@ whop files create --filename "banner.png"
163
172
  whop files get file_xxxxxxxxxxxxx
164
173
  ```
165
174
 
166
- `create` returns a presigned `upload_url` and `upload_headers`. Upload the bytes there, then `get` returns the file URL once it's ready.
175
+ `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
176
 
168
177
  ## For AI agents
169
178