@whop/cli 0.2.0 → 0.4.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 +8 -0
- package/dist/{api-U7WU3JXH.js → api-7L74UEG4.js} +4 -2
- package/dist/{chunk-2Y4EKBOD.js → chunk-2K4WBZA5.js} +4886 -168
- package/dist/chunk-2K4WBZA5.js.map +1 -0
- package/dist/index.js +981 -445
- package/dist/index.js.map +1 -1
- package/dist/vite.d.ts +5 -0
- package/dist/vite.js +811 -0
- package/dist/vite.js.map +1 -0
- package/package.json +12 -3
- package/dist/chunk-2Y4EKBOD.js.map +0 -1
- /package/dist/{api-U7WU3JXH.js.map → api-7L74UEG4.js.map} +0 -0
package/README.md
CHANGED
|
@@ -36,6 +36,14 @@ whop stats list # your numbers
|
|
|
36
36
|
|
|
37
37
|
Every command takes `--format json` for structured output.
|
|
38
38
|
|
|
39
|
+
## Deploy an app
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
whop apps deploy
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
The one-stop deploy for fully-hosted web apps (`*.whop.app`): it verifies the current directory is a Whop-ready Vite app — offering to scaffold a new one or link an existing Whop app if not — then builds, typechecks, uploads, and promotes the build to production. Use `--skip_promote` to upload a preview build, and `whop apps builds promote <build_id>` to ship it later. Everything else is plain REST: `whop apps list|create|get|update` and `whop apps builds list|get|create|promote`.
|
|
46
|
+
|
|
39
47
|
## For AI agents
|
|
40
48
|
|
|
41
49
|
The CLI is self-describing — agents can discover and drive every command:
|
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
|
+
apps_spec_default,
|
|
4
5
|
createWhopFetch,
|
|
5
6
|
filterSpecByTag,
|
|
6
7
|
native_spec_default,
|
|
7
8
|
resolveActiveAccountId
|
|
8
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-2K4WBZA5.js";
|
|
9
10
|
import "./chunk-KFCNNWPI.js";
|
|
10
11
|
export {
|
|
12
|
+
apps_spec_default as appsSpec,
|
|
11
13
|
createWhopFetch,
|
|
12
14
|
filterSpecByTag,
|
|
13
15
|
native_spec_default as nativeSpec,
|
|
14
16
|
resolveActiveAccountId
|
|
15
17
|
};
|
|
16
|
-
//# sourceMappingURL=api-
|
|
18
|
+
//# sourceMappingURL=api-7L74UEG4.js.map
|