@onmyway133/asc-cli 1.0.1 → 1.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/README.md +12 -80
- package/dist/index.js +164 -156
- package/docs/DEVELOPMENT.md +112 -0
- package/package.json +7 -1
- package/src/commands/app-info.ts +32 -34
- package/src/commands/apps.ts +17 -14
- package/src/commands/availability.ts +17 -16
- package/src/commands/beta-review.ts +51 -61
- package/src/commands/builds.ts +37 -29
- package/src/commands/game-center.ts +56 -55
- package/src/commands/iap.ts +47 -53
- package/src/commands/localizations.ts +83 -0
- package/src/commands/metadata.ts +25 -18
- package/src/commands/phased-release.ts +85 -0
- package/src/commands/pricing.ts +34 -30
- package/src/commands/reports.ts +13 -10
- package/src/commands/review-details.ts +79 -0
- package/src/commands/review-submission.ts +143 -0
- package/src/commands/reviews.ts +36 -30
- package/src/commands/screenshots.ts +40 -51
- package/src/commands/signing.ts +80 -100
- package/src/commands/subscriptions.ts +55 -63
- package/src/commands/testflight.ts +34 -23
- package/src/commands/versions.ts +40 -18
- package/src/commands/xcode-cloud.ts +68 -65
- package/src/index.ts +313 -1
package/README.md
CHANGED
|
@@ -3,56 +3,15 @@
|
|
|
3
3
|
A fast, scriptable CLI for App Store Connect built with Bun and TypeScript.
|
|
4
4
|
Manage apps, builds, TestFlight, metadata, screenshots, signing, reports, and more from your terminal or CI pipeline.
|
|
5
5
|
|
|
6
|
-
##
|
|
7
|
-
|
|
8
|
-
| Area | Commands |
|
|
9
|
-
|------|---------|
|
|
10
|
-
| **Auth** | `login`, `list`, `use`, `status`, `logout`, `profile view/update/delete` |
|
|
11
|
-
| **Apps** | `list`, `get` |
|
|
12
|
-
| **Builds** | `list`, `get`, `update-beta-notes` |
|
|
13
|
-
| **Versions** | `list`, `create`, `submit` |
|
|
14
|
-
| **TestFlight** | `groups list`, `testers list/add/remove` |
|
|
15
|
-
| **Metadata** | `list`, `update` (what's new, description, keywords) |
|
|
16
|
-
| **Reviews** | `list`, `get`, `respond` |
|
|
17
|
-
| **Pricing** | `schedule get/set`, `points list`, `territories list` |
|
|
18
|
-
| **Availability** | `get`, `territories set` |
|
|
19
|
-
| **In-App Purchases** | `list`, `get`, `create`, `delete` |
|
|
20
|
-
| **Subscriptions** | `groups list/create`, `list`, `get`, `create`, `prices list` |
|
|
21
|
-
| **App Info** | `get`, `update`, `categories list`, `age-rating update` |
|
|
22
|
-
| **Screenshots** | `sets list`, `list`, `create`, `delete`, `preview-sets list` |
|
|
23
|
-
| **Code Signing** | `certificates`, `devices`, `bundle-ids`, `profiles` |
|
|
24
|
-
| **Reports** | `sales`, `finance`, `analytics list/request` |
|
|
25
|
-
| **Xcode Cloud** | `products list`, `workflows`, `builds`, `artifacts`, `test-results` |
|
|
26
|
-
| **Game Center** | `achievements list/get`, `leaderboards list`, `leaderboard-sets list` |
|
|
27
|
-
| **Beta Review** | `submit`, `status`, `detail-get/update`, `notify`, `localizations list` |
|
|
28
|
-
|
|
29
|
-
## Requirements
|
|
30
|
-
|
|
31
|
-
- macOS (Keychain integration uses the `security` CLI)
|
|
32
|
-
- [Bun](https://bun.sh) runtime
|
|
33
|
-
|
|
34
|
-
## Quick Start
|
|
35
|
-
|
|
36
|
-
### Install
|
|
6
|
+
## Install
|
|
37
7
|
|
|
38
8
|
```bash
|
|
39
|
-
|
|
40
|
-
git clone https://github.com/onmyway133/asc-cli
|
|
41
|
-
cd asc-cli
|
|
42
|
-
bun install
|
|
43
|
-
|
|
44
|
-
# Run directly
|
|
45
|
-
bun run src/index.ts --help
|
|
46
|
-
|
|
47
|
-
# Or build a single executable
|
|
48
|
-
bun run build
|
|
49
|
-
./dist/asc --help
|
|
9
|
+
npm install -g @onmyway133/asc-cli
|
|
50
10
|
```
|
|
51
11
|
|
|
52
|
-
|
|
12
|
+
## Authenticate
|
|
53
13
|
|
|
54
|
-
You'll need an App Store Connect API key
|
|
55
|
-
[Create one here](https://appstoreconnect.apple.com/access/integrations/api)
|
|
14
|
+
You'll need an App Store Connect API key — [create one here](https://appstoreconnect.apple.com/access/integrations/api).
|
|
56
15
|
|
|
57
16
|
```bash
|
|
58
17
|
# Interactive (prompts for missing values)
|
|
@@ -68,7 +27,7 @@ asc auth login \
|
|
|
68
27
|
|
|
69
28
|
The private key is stored in the macOS Keychain automatically. Use `--bypass-keychain` to store the file path in `~/.asc/credentials.json` instead.
|
|
70
29
|
|
|
71
|
-
|
|
30
|
+
## Multiple accounts
|
|
72
31
|
|
|
73
32
|
```bash
|
|
74
33
|
# Add profiles
|
|
@@ -89,20 +48,18 @@ asc apps list --profile client
|
|
|
89
48
|
asc auth status --validate
|
|
90
49
|
```
|
|
91
50
|
|
|
92
|
-
|
|
51
|
+
## Profile management
|
|
93
52
|
|
|
94
53
|
```bash
|
|
95
|
-
asc auth profile view
|
|
96
|
-
asc auth profile view work
|
|
97
|
-
asc auth profile update --rename koa
|
|
98
|
-
asc auth profile update work --rename koa
|
|
54
|
+
asc auth profile view # view active profile
|
|
55
|
+
asc auth profile view work # view specific profile
|
|
56
|
+
asc auth profile update --rename koa # rename active profile
|
|
57
|
+
asc auth profile update work --rename koa # rename specific profile
|
|
99
58
|
asc auth profile update --vendor-number 12345678
|
|
100
59
|
asc auth profile delete work
|
|
101
60
|
```
|
|
102
61
|
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
## Environment Variables
|
|
62
|
+
## Environment variables
|
|
106
63
|
|
|
107
64
|
| Variable | Description |
|
|
108
65
|
|----------|-------------|
|
|
@@ -113,7 +70,7 @@ asc auth profile delete work
|
|
|
113
70
|
| `ASC_PROFILE` | Profile name to use (equivalent to `--profile`) |
|
|
114
71
|
| `ASC_BYPASS_KEYCHAIN` | Set to `1` to skip Keychain storage |
|
|
115
72
|
|
|
116
|
-
##
|
|
73
|
+
## Commands
|
|
117
74
|
|
|
118
75
|
### Apps
|
|
119
76
|
|
|
@@ -260,31 +217,6 @@ asc apps list --output json | jq '.[].bundleId'
|
|
|
260
217
|
```bash
|
|
261
218
|
# Get full command tree as structured JSON
|
|
262
219
|
asc --help --json
|
|
263
|
-
|
|
264
|
-
# Browse raw API endpoints
|
|
265
|
-
grep "apps" docs/openapi/paths.txt
|
|
266
|
-
```
|
|
267
|
-
|
|
268
|
-
## Development
|
|
269
|
-
|
|
270
|
-
```bash
|
|
271
|
-
# Install dependencies
|
|
272
|
-
bun install
|
|
273
|
-
|
|
274
|
-
# Run directly
|
|
275
|
-
bun run src/index.ts <command>
|
|
276
|
-
|
|
277
|
-
# Type check
|
|
278
|
-
bun run typecheck
|
|
279
|
-
|
|
280
|
-
# Run tests
|
|
281
|
-
bun test
|
|
282
|
-
|
|
283
|
-
# Build single binary
|
|
284
|
-
bun run build
|
|
285
|
-
|
|
286
|
-
# Regenerate API client (when Apple updates their OpenAPI spec)
|
|
287
|
-
bun run generate
|
|
288
220
|
```
|
|
289
221
|
|
|
290
222
|
## Security
|