@whop/cli 0.18.4 → 0.20.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
@@ -133,6 +133,17 @@ whop products update prod_xxxxxxxx --gallery_images '[{"id":"file_xxxxxxxx"}]'
133
133
 
134
134
  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.
135
135
 
136
+ ## Read trading activity
137
+
138
+ Trading is available by request. Email support@whop.com to get access.
139
+
140
+ ```bash
141
+ whop accounts get biz_xxx --include_trading true --format json
142
+ whop users get me --include_trading true --format json
143
+ ```
144
+
145
+ These commands retrieve trading balances, positions and open orders from the supported provider; they don't place orders or move funds. Hyperliquid is currently supported.
146
+
136
147
  ## Serve the customers you have
137
148
 
138
149
  ```bash
@@ -188,11 +199,13 @@ whop bounty-submissions list --help # review submitted work, approve to pay
188
199
  ## Upload files
189
200
 
190
201
  ```bash
191
- whop files create --filename "banner.png"
202
+ whop files create --filepath ./banner.png --visibility public
192
203
  whop files get file_xxxxxxxxxxxxx
193
204
  ```
194
205
 
195
- `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.
206
+ `create --filepath` uploads a local file end to end: it creates the file, sends its bytes (in parts for files over 100 MB), and returns it once it's ready with its URL. The file name defaults to the local file's name.
207
+
208
+ Without `--filepath`, `create --filename` returns a presigned `upload_url` and `upload_headers` to upload the bytes yourself; `get` returns the file URL once it's ready. `list` shows your uploads, and `complete` finishes a multipart upload once every part is in.
196
209
 
197
210
  ## For AI agents
198
211