@capgo/cli 8.0.0-alpha.4 → 8.0.0-alpha.5
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 +31 -0
- package/dist/index.js +193 -184
- package/dist/package.json +2 -1
- package/dist/src/build/request.d.ts +48 -0
- package/dist/src/build/request.d.ts.map +1 -0
- package/dist/src/bundle/partial.d.ts.map +1 -1
- package/dist/src/bundle/upload.d.ts.map +1 -1
- package/dist/src/sdk.d.ts +89 -0
- package/dist/src/sdk.d.ts.map +1 -1
- package/dist/src/sdk.js +188 -186
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -59,6 +59,7 @@ Follow the documentation here: https://capacitorjs.com/docs/getting-started/
|
|
|
59
59
|
- [Add](#organisation-add)
|
|
60
60
|
- [Set](#organisation-set)
|
|
61
61
|
- [Delete](#organisation-delete)
|
|
62
|
+
- 🔹 [Build](#build)
|
|
62
63
|
|
|
63
64
|
## <a id="init"></a> 🚀 **Init**
|
|
64
65
|
|
|
@@ -885,6 +886,36 @@ npx @capgo/cli@latest organisation delete ORG_ID
|
|
|
885
886
|
| **--supa-anon** | <code>string</code> | Custom Supabase anon key (for self-hosting) |
|
|
886
887
|
|
|
887
888
|
|
|
889
|
+
## <a id="build"></a> 🔹 **Build**
|
|
890
|
+
|
|
891
|
+
```bash
|
|
892
|
+
npx @capgo/cli@latest build
|
|
893
|
+
```
|
|
894
|
+
|
|
895
|
+
🏗️ Request a native iOS/Android build from Capgo Cloud.
|
|
896
|
+
⚠️ This feature is currently in PRIVATE BETA and cannot be used by anyone at this time.
|
|
897
|
+
This command will zip your project directory and upload it to Capgo for building.
|
|
898
|
+
The build will be processed in the cloud and artifacts will be available when complete.
|
|
899
|
+
|
|
900
|
+
**Example:**
|
|
901
|
+
|
|
902
|
+
```bash
|
|
903
|
+
npx @capgo/cli@latest build com.example.app --platform ios --path .
|
|
904
|
+
```
|
|
905
|
+
|
|
906
|
+
## <a id="options"></a> Options
|
|
907
|
+
|
|
908
|
+
| Param | Type | Description |
|
|
909
|
+
| -------------- | ------------- | -------------------- |
|
|
910
|
+
| **--path** | <code>string</code> | Path to the project directory to build (default: current directory) |
|
|
911
|
+
| **--platform** | <code>string</code> | Target platform: ios, android, or both (default: both) |
|
|
912
|
+
| **--build-mode** | <code>string</code> | Build mode: debug or release (default: release) |
|
|
913
|
+
| **--build-config** | <code>string</code> | Additional build configuration as JSON string |
|
|
914
|
+
| **-a,** | <code>string</code> | API key to link to your account |
|
|
915
|
+
| **--supa-host** | <code>string</code> | Custom Supabase host URL (for self-hosting or Capgo development) |
|
|
916
|
+
| **--supa-anon** | <code>string</code> | Custom Supabase anon key (for self-hosting) |
|
|
917
|
+
|
|
918
|
+
|
|
888
919
|
|
|
889
920
|
<!-- AUTO-GENERATED-DOCS-END -->
|
|
890
921
|
|