@gpc-cli/cli 0.1.1 → 0.1.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 +96 -0
- package/package.json +9 -6
package/README.md
ADDED
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
# @gpc-cli/cli
|
|
2
|
+
|
|
3
|
+
Ship Android apps from your terminal. The complete CLI for Google Play Developer API v3.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
# npm
|
|
9
|
+
npm install -g @gpc-cli/cli
|
|
10
|
+
|
|
11
|
+
# Homebrew
|
|
12
|
+
brew install yasserstudio/tap/gpc
|
|
13
|
+
|
|
14
|
+
# Standalone binary
|
|
15
|
+
curl -fsSL https://raw.githubusercontent.com/yasserstudio/gpc/main/scripts/install.sh | sh
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## Quick Start
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
# Authenticate
|
|
22
|
+
gpc auth login --service-account path/to/key.json
|
|
23
|
+
|
|
24
|
+
# Upload and release
|
|
25
|
+
gpc releases upload app.aab --track internal
|
|
26
|
+
|
|
27
|
+
# Promote to production
|
|
28
|
+
gpc releases promote --from internal --to production --rollout 10
|
|
29
|
+
|
|
30
|
+
# Check app health
|
|
31
|
+
gpc vitals overview
|
|
32
|
+
|
|
33
|
+
# Monitor reviews
|
|
34
|
+
gpc reviews list --stars 1-3 --since 7d
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## What You Get
|
|
38
|
+
|
|
39
|
+
162 API endpoints across 10 command groups:
|
|
40
|
+
|
|
41
|
+
| Command Group | Examples |
|
|
42
|
+
|--------------|----------|
|
|
43
|
+
| **Releases** | `upload`, `promote`, `rollout increase/halt/resume`, `publish` |
|
|
44
|
+
| **Listings** | `pull`, `push`, `images upload/delete`, Fastlane format |
|
|
45
|
+
| **Reviews** | `list`, `reply`, `export --format csv` |
|
|
46
|
+
| **Vitals** | `crashes`, `anr`, `startup`, `rendering`, `battery`, `memory` |
|
|
47
|
+
| **Subscriptions** | `list`, `create`, `base-plans`, `offers` |
|
|
48
|
+
| **IAP** | `list`, `create`, `sync --dir products/` |
|
|
49
|
+
| **Purchases** | `get`, `acknowledge`, `cancel`, `refund` |
|
|
50
|
+
| **Reports** | `download financial`, `download stats` |
|
|
51
|
+
| **Testers** | `add`, `remove`, `import --file testers.csv` |
|
|
52
|
+
| **Users** | `invite`, `update`, `remove`, per-app grants |
|
|
53
|
+
|
|
54
|
+
## CI/CD
|
|
55
|
+
|
|
56
|
+
JSON output, semantic exit codes (0-6), env var config — no wrapper scripts needed.
|
|
57
|
+
|
|
58
|
+
```yaml
|
|
59
|
+
- name: Install GPC
|
|
60
|
+
run: npm install -g @gpc-cli/cli
|
|
61
|
+
|
|
62
|
+
- name: Upload
|
|
63
|
+
env:
|
|
64
|
+
GPC_SERVICE_ACCOUNT: ${{ secrets.GPC_SERVICE_ACCOUNT }}
|
|
65
|
+
GPC_APP: com.example.myapp
|
|
66
|
+
run: gpc releases upload app.aab --track internal
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
## Output Formats
|
|
70
|
+
|
|
71
|
+
GPC auto-detects your environment:
|
|
72
|
+
|
|
73
|
+
- **Terminal:** formatted tables
|
|
74
|
+
- **Piped/CI:** structured JSON
|
|
75
|
+
|
|
76
|
+
Override with `--output json|yaml|markdown|table`.
|
|
77
|
+
|
|
78
|
+
## Documentation
|
|
79
|
+
|
|
80
|
+
Full docs at **[yasserstudio.github.io/gpc](https://yasserstudio.github.io/gpc/)**
|
|
81
|
+
|
|
82
|
+
## Part of the GPC Monorepo
|
|
83
|
+
|
|
84
|
+
| Package | Description |
|
|
85
|
+
|---------|-------------|
|
|
86
|
+
| **@gpc-cli/cli** | CLI entry point (this package) |
|
|
87
|
+
| [@gpc-cli/core](https://www.npmjs.com/package/@gpc-cli/core) | Business logic and orchestration |
|
|
88
|
+
| [@gpc-cli/api](https://www.npmjs.com/package/@gpc-cli/api) | Typed Google Play API v3 client |
|
|
89
|
+
| [@gpc-cli/auth](https://www.npmjs.com/package/@gpc-cli/auth) | Authentication (service account, OAuth, ADC) |
|
|
90
|
+
| [@gpc-cli/config](https://www.npmjs.com/package/@gpc-cli/config) | Configuration and profiles |
|
|
91
|
+
| [@gpc-cli/plugin-sdk](https://www.npmjs.com/package/@gpc-cli/plugin-sdk) | Plugin interface and lifecycle hooks |
|
|
92
|
+
| [@gpc-cli/plugin-ci](https://www.npmjs.com/package/@gpc-cli/plugin-ci) | CI/CD helpers |
|
|
93
|
+
|
|
94
|
+
## License
|
|
95
|
+
|
|
96
|
+
MIT
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gpc-cli/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "The complete Google Play CLI",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"commander": "^14.0.3",
|
|
22
|
-
"@gpc-cli/api": "1.0.
|
|
23
|
-
"@gpc-cli/auth": "^0.1.
|
|
24
|
-
"@gpc-cli/config": "0.1.
|
|
25
|
-
"@gpc-cli/core": "0.1.
|
|
26
|
-
"@gpc-cli/plugin-sdk": "0.1.
|
|
22
|
+
"@gpc-cli/api": "1.0.2",
|
|
23
|
+
"@gpc-cli/auth": "^0.1.2",
|
|
24
|
+
"@gpc-cli/config": "0.1.2",
|
|
25
|
+
"@gpc-cli/core": "0.1.2",
|
|
26
|
+
"@gpc-cli/plugin-sdk": "0.1.2"
|
|
27
27
|
},
|
|
28
28
|
"keywords": [
|
|
29
29
|
"google-play",
|
|
@@ -33,6 +33,9 @@
|
|
|
33
33
|
"play-console"
|
|
34
34
|
],
|
|
35
35
|
"license": "MIT",
|
|
36
|
+
"publishConfig": {
|
|
37
|
+
"access": "public"
|
|
38
|
+
},
|
|
36
39
|
"devDependencies": {
|
|
37
40
|
"@types/node": "^25.3.5"
|
|
38
41
|
},
|