@capgo/cli 8.43.2 → 8.44.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)
@@ -1784,6 +1785,30 @@ Examples:
1784
1785
  | **--platform** | <code>string</code> | Platform to manage: ios or android (optional, prompts to pick if omitted) |
1785
1786
  | **--local** | <code>boolean</code> | Only browse local .capgo-credentials.json |
1786
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
+
1787
1812
  #### <a id="build-credentials-migrate"></a> 🔹 **Migrate**
1788
1813
 
1789
1814
  ```bash