@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 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
- ## Features
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
- # Clone and install dependencies
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
- ### Authenticate
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
- ### Multiple accounts
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
- ### Manage profiles
51
+ ## Profile management
93
52
 
94
53
  ```bash
95
- asc auth profile view # view active profile
96
- asc auth profile view work # view specific profile
97
- asc auth profile update --rename koa # rename active profile
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
- **Credential resolution order:** env vars → `ASC_PROFILE` → active profile in `~/.asc/credentials.json`
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
- ## Command Reference
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