@whop/cli 0.0.2 → 0.0.3

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/package.json CHANGED
@@ -1,28 +1,59 @@
1
1
  {
2
- "name": "@whop/cli",
3
- "version": "0.0.2",
4
- "description": "Official Whop CLI",
5
- "main": "./bin/whop.js",
6
- "keywords": [
7
- "whop",
8
- "cli",
9
- "developer-tools"
10
- ],
11
- "author": "Whop",
12
- "license": "MIT",
13
- "type": "commonjs",
14
- "homepage": "https://docs.whop.com",
15
- "bugs": {
16
- "url": "https://github.com/whopio/whop-monorepo/issues"
17
- },
18
- "publishConfig": {
19
- "access": "public"
20
- },
21
- "bin": {
22
- "whop": "bin/whop.js"
23
- },
24
- "files": [
25
- "bin",
26
- "README.md"
27
- ]
2
+ "name": "@whop/cli",
3
+ "version": "0.0.3",
4
+ "description": "The Whop CLI — build and manage Whop apps from your terminal. Human and agent friendly.",
5
+ "keywords": [
6
+ "agent",
7
+ "apps",
8
+ "cli",
9
+ "developer",
10
+ "whop"
11
+ ],
12
+ "homepage": "https://whop.com/developers/",
13
+ "bugs": "https://github.com/whopio/whop-sdk-ts/issues",
14
+ "license": "MIT",
15
+ "repository": {
16
+ "type": "git",
17
+ "url": "https://github.com/whopio/whop-sdk-ts",
18
+ "directory": "packages/cli"
19
+ },
20
+ "bin": {
21
+ "whop": "./dist/index.js"
22
+ },
23
+ "files": [
24
+ "dist"
25
+ ],
26
+ "type": "module",
27
+ "publishConfig": {
28
+ "access": "public"
29
+ },
30
+ "scripts": {
31
+ "build": "tsx scripts/sync-spec.ts && pnpm run clean && tsup",
32
+ "clean": "rm -rf dist",
33
+ "dev": "tsx scripts/sync-spec.ts && tsx src/index.ts",
34
+ "start": "node dist/index.js",
35
+ "check-types": "tsx scripts/sync-spec.ts && tsc --noEmit",
36
+ "lint": "oxlint .",
37
+ "lint:fix": "oxlint --fix --fix-suggestions && oxfmt",
38
+ "ci:lint": "oxlint -f github .",
39
+ "format": "oxfmt",
40
+ "sync-spec": "tsx scripts/sync-spec.ts",
41
+ "test": "tsx --test scripts/*.test.ts"
42
+ },
43
+ "dependencies": {
44
+ "@clack/prompts": "^1.5.1",
45
+ "@napi-rs/keyring": "^1.3.0",
46
+ "@whop/sdk": "^0.0.40"
47
+ },
48
+ "devDependencies": {
49
+ "@types/node": "25.3.5",
50
+ "incur": "whopio/incur#ea62f88",
51
+ "tsup": "8.5.0",
52
+ "tsx": "4.19.4",
53
+ "typescript": "5.9.3"
54
+ },
55
+ "engines": {
56
+ "node": ">=22"
57
+ },
58
+ "packageManager": "pnpm@10.23.0"
28
59
  }
package/bin/whop.js DELETED
@@ -1,33 +0,0 @@
1
- #!/usr/bin/env node
2
-
3
- const { version } = require("../package.json");
4
-
5
- const args = process.argv.slice(2);
6
- const firstArg = args[0];
7
-
8
- if (firstArg === "--version" || firstArg === "-v") {
9
- console.log(version);
10
- process.exit(0);
11
- }
12
-
13
- if (!firstArg || firstArg === "--help" || firstArg === "-h") {
14
- console.log(`Whop CLI is coming soon.
15
-
16
- For now, create a Whop app with:
17
-
18
- pnpm create whop-app
19
-
20
- Docs: https://docs.whop.com`);
21
- process.exit(0);
22
- }
23
-
24
- console.error(`Unknown command: ${firstArg}
25
-
26
- Whop CLI is coming soon.
27
-
28
- For now, create a Whop app with:
29
-
30
- pnpm create whop-app
31
-
32
- Docs: https://docs.whop.com`);
33
- process.exit(1);