@capgo/cli 8.43.0 → 8.45.0

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
@@ -178,6 +178,7 @@ Capgo continues to load the root config while writing only the selected source.
178
178
  - [Clear](#build-credentials-clear)
179
179
  - [Update](#build-credentials-update)
180
180
  - [Manage](#build-credentials-manage)
181
+ - [Export](#build-credentials-export)
181
182
  - [Migrate](#build-credentials-migrate)
182
183
  - 🔹 [Notifications](#notifications)
183
184
  - [Setup](#notifications-setup)
@@ -403,6 +404,7 @@ npx @capgo/cli@latest bundle upload com.example.app --path ./dist --channel prod
403
404
  | **--bundle-url** | <code>boolean</code> | Prints bundle URL into stdout |
404
405
  | **--no-key** | <code>boolean</code> | Ignore signing key and send clear update |
405
406
  | **--no-code-check** | <code>boolean</code> | Ignore checking if notifyAppReady() is called in source code and index present in root folder |
407
+ | **--ignore-notify-app-ready** | <code>boolean</code> | Skip notifyAppReady() check (not recommended — updates may roll back) |
406
408
  | **--display-iv-session** | <code>boolean</code> | Show in the console the IV and session key used to encrypt the update |
407
409
  | **-b** | <code>string</code> | Bundle version number of the bundle to upload |
408
410
  | **--link** | <code>string</code> | Link to external resource (e.g. GitHub release) |
@@ -606,7 +608,7 @@ Prints base64 session key for verification.
606
608
  **Example:**
607
609
 
608
610
  ```bash
609
- npx @capgo/cli@latest bundle decrypt ./myapp_encrypted.zip CHECKSUM
611
+ npx @capgo/cli@latest bundle decrypt ./myapp_encrypted.zip IV_BASE64:SESSION_KEY_BASE64
610
612
  ```
611
613
 
612
614
  **Options:**
@@ -642,6 +644,7 @@ npx @capgo/cli@latest bundle zip com.example.app --path ./dist
642
644
  | **-n** | <code>string</code> | Name of the zip file |
643
645
  | **-j** | <code>boolean</code> | Output in JSON |
644
646
  | **--no-code-check** | <code>boolean</code> | Ignore checking if notifyAppReady() is called in source code and index present in root folder |
647
+ | **--ignore-notify-app-ready** | <code>boolean</code> | Skip notifyAppReady() check (not recommended — updates may roll back) |
645
648
  | **--key-v2** | <code>boolean</code> | Use encryption v2 |
646
649
  | **--package-json** | <code>string</code> | Paths to package.json files for monorepos (comma-separated) |
647
650
 
@@ -1782,6 +1785,30 @@ Examples:
1782
1785
  | **--platform** | <code>string</code> | Platform to manage: ios or android (optional, prompts to pick if omitted) |
1783
1786
  | **--local** | <code>boolean</code> | Only browse local .capgo-credentials.json |
1784
1787
 
1788
+ #### <a id="build-credentials-export"></a> 🔹 **Export**
1789
+
1790
+ ```bash
1791
+ npx @capgo/cli@latest build credentials export
1792
+ ```
1793
+
1794
+ Export one saved Builder credential or configuration value.
1795
+ Raw mode prints only the exact stored value to stdout with no trailing newline.
1796
+ All failures are written to stderr and exit with status 1. Saved local/global
1797
+ configuration is used; environment variables are never exported.
1798
+
1799
+ **Options:**
1800
+
1801
+ | Param | Type | Description |
1802
+ | -------------- | ------------- | -------------------- |
1803
+ | **--app-id** | <code>string</code> | App ID whose saved Builder value will be exported (required) |
1804
+ | **--appId** | <code>string</code> | Compatibility alias for --app-id |
1805
+ | **--platform** | <code>string</code> | Platform: ios or android (required when saved platform values are ambiguous) |
1806
+ | **--local** | <code>boolean</code> | Export only from the project-local .capgo-credentials.json |
1807
+ | **--global** | <code>boolean</code> | Export only from ~/.capgo-credentials/credentials.json |
1808
+ | **--file** | <code>string</code> | Write the value to a new file; existing destinations are never overwritten |
1809
+ | **--raw** | <code>boolean</code> | Write only the exact stored value to stdout without a trailing newline |
1810
+ | **--decode-base64** | <code>boolean</code> | Decode Base64 before file output; valid only with --file |
1811
+
1785
1812
  #### <a id="build-credentials-migrate"></a> 🔹 **Migrate**
1786
1813
 
1787
1814
  ```bash