green-line-cli 1.0.3 → 1.0.4
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 +16 -17
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -38,9 +38,9 @@ brew install fastlane
|
|
|
38
38
|
- macOS + Xcode are required for real iOS build/sign/upload.
|
|
39
39
|
- Local CLI data is stored under `~/.config/green-line/`.
|
|
40
40
|
|
|
41
|
-
##
|
|
41
|
+
## Getting Started
|
|
42
42
|
|
|
43
|
-
|
|
43
|
+
Run these once per app folder.
|
|
44
44
|
|
|
45
45
|
1. **Open the app folder first**
|
|
46
46
|
|
|
@@ -49,7 +49,7 @@ cd /absolute/path/to/your-app
|
|
|
49
49
|
pwd
|
|
50
50
|
```
|
|
51
51
|
|
|
52
|
-
2. **Sign in to Green Line
|
|
52
|
+
2. **Sign in to Green Line**
|
|
53
53
|
|
|
54
54
|
```bash
|
|
55
55
|
gl auth login --email you@example.com
|
|
@@ -61,13 +61,12 @@ gl auth login --email you@example.com
|
|
|
61
61
|
gl apple setup
|
|
62
62
|
```
|
|
63
63
|
|
|
64
|
-
|
|
64
|
+
During setup, Green Line can:
|
|
65
65
|
|
|
66
|
-
-
|
|
67
|
-
-
|
|
68
|
-
-
|
|
69
|
-
-
|
|
70
|
-
- Guides API key import (`AuthKey_*.p8`) and opens App Store Connect pages when needed.
|
|
66
|
+
- Sign you in if needed.
|
|
67
|
+
- Detect Apple ID and bundle ID when possible.
|
|
68
|
+
- Save org/project/bundle/team/profile defaults for the current folder.
|
|
69
|
+
- Help you import `AuthKey_*.p8` and open the right App Store Connect pages.
|
|
71
70
|
|
|
72
71
|
4. **Start build**
|
|
73
72
|
|
|
@@ -98,7 +97,7 @@ cd /absolute/path/to/another-app
|
|
|
98
97
|
gl apple setup
|
|
99
98
|
```
|
|
100
99
|
|
|
101
|
-
Green Line keeps per
|
|
100
|
+
Green Line keeps defaults per folder so projects stay isolated.
|
|
102
101
|
|
|
103
102
|
## Quick Start (Interactive)
|
|
104
103
|
|
|
@@ -110,7 +109,7 @@ gl submit ios preflight
|
|
|
110
109
|
gl submit ios start
|
|
111
110
|
```
|
|
112
111
|
|
|
113
|
-
This is the
|
|
112
|
+
This is the quick path. Use the full guide above for the full walkthrough.
|
|
114
113
|
|
|
115
114
|
## Expo Migration (Recommended for Expo apps)
|
|
116
115
|
|
|
@@ -118,10 +117,10 @@ This is the fast path. For complete behavior and edge-case handling, use the Ste
|
|
|
118
117
|
gl migrate expo
|
|
119
118
|
```
|
|
120
119
|
|
|
121
|
-
|
|
120
|
+
Expo migration does the following:
|
|
122
121
|
|
|
123
|
-
-
|
|
124
|
-
-
|
|
122
|
+
- Detect Expo metadata from `app.json` / `app.config.json`.
|
|
123
|
+
- Detect Expo-related packages from both Expo plugin config and source imports.
|
|
125
124
|
- Offers to install missing Expo-related packages and refresh iOS pods.
|
|
126
125
|
- Confirms whether you are already signed into App Store Connect.
|
|
127
126
|
- Can open Apple pages and auto-import `AuthKey_*.p8` from `~/Downloads`.
|
|
@@ -134,9 +133,9 @@ Equivalent long form:
|
|
|
134
133
|
gl apple setup --from-expo
|
|
135
134
|
```
|
|
136
135
|
|
|
137
|
-
## Non-Interactive Mode (
|
|
136
|
+
## Non-Interactive Mode (CI)
|
|
138
137
|
|
|
139
|
-
Use `--yes` to
|
|
138
|
+
Use `--yes` to run without interactive confirmations:
|
|
140
139
|
|
|
141
140
|
```bash
|
|
142
141
|
gl migrate expo --yes
|
|
@@ -161,7 +160,7 @@ gl migrate expo \
|
|
|
161
160
|
- If archive fails due app compile issues (Swift/React Native/Flutter iOS build scripts), Green Line reports a short message to open Xcode and fix project compile/build errors.
|
|
162
161
|
- Detailed diagnostics are available via `gl build ios logs <BUILD_ID>`.
|
|
163
162
|
|
|
164
|
-
##
|
|
163
|
+
## Known Limitations
|
|
165
164
|
|
|
166
165
|
- Green Line can guide, auto-detect, and retry signing strategies, but it cannot bypass Apple account requirements.
|
|
167
166
|
- If App Store Connect API key does not exist, you still need to create/download it once in Apple.
|