@capgo/cli 4.18.2 → 4.20.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 +32 -17
- package/dist/index.js +302 -284
- package/package.json +3 -4
package/README.md
CHANGED
|
@@ -60,6 +60,7 @@ Optionally, you can give:
|
|
|
60
60
|
* `--icon [/path/to/my/icon]` to have a custom icon display in Capgo web app.
|
|
61
61
|
* `--name [test]` to have a custom name in the list.
|
|
62
62
|
* `--apikey [key]` API key to link to your account.
|
|
63
|
+
* `--retention [retention]` retention period of app bundle in days, 0 by default = infinite.
|
|
63
64
|
|
|
64
65
|
Example of `capacitor.config.json` for appId and AppName, the icon is guess in the resources folder
|
|
65
66
|
|
|
@@ -139,23 +140,37 @@ Options:
|
|
|
139
140
|
|
|
140
141
|
`[appId]` is your app ID, the format is explained [here](https://capacitorjs.com/docs/cli/commands/init/).
|
|
141
142
|
|
|
142
|
-
|
|
143
|
+
Options:
|
|
143
144
|
|
|
144
|
-
* `--apikey
|
|
145
|
-
* `--path
|
|
146
|
-
* `--channel
|
|
147
|
-
* `--external
|
|
148
|
-
* `--key
|
|
149
|
-
* `--
|
|
150
|
-
* `--
|
|
151
|
-
* `--
|
|
152
|
-
* `--
|
|
153
|
-
* `--s3-
|
|
154
|
-
* `--s3-
|
|
155
|
-
* `--s3-
|
|
156
|
-
* `--
|
|
157
|
-
* `--
|
|
158
|
-
* `--
|
|
145
|
+
* `--apikey <apikey>` API key to link to your account.
|
|
146
|
+
* `--path <path>` Path of the folder to upload.
|
|
147
|
+
* `--channel <channel>` Channel to link to.
|
|
148
|
+
* `--external <url>` Link to external URL instead of uploading to Capgo Cloud.
|
|
149
|
+
* `--iv-session-key <key>` Set the IV and session key for bundle URL external.
|
|
150
|
+
* `--s3-region <region>` Region for your S3 bucket.
|
|
151
|
+
* `--s3-apikey <apikey>` API key for your S3 endpoint.
|
|
152
|
+
* `--s3-apisecret <apisecret>` API secret for your S3 endpoint.
|
|
153
|
+
* `--s3-endpoint <s3Endpoint>` URL of S3 endpoint.
|
|
154
|
+
* `--s3-bucket-name <bucketName>` Name for your AWS S3 bucket.
|
|
155
|
+
* `--s3-port <port>` Port for your S3 endpoint.
|
|
156
|
+
* `--no-s3-ssl` Disable SSL for S3 upload.
|
|
157
|
+
* `--key <key>` Custom path for public signing key.
|
|
158
|
+
* `--key-data <keyData>` Public signing key.
|
|
159
|
+
* `--key-v2 <key>` Custom path for private signing key.
|
|
160
|
+
* `--key-data-v2 <keyData>` Private signing key.
|
|
161
|
+
* `--bundle-url` Prints bundle URL into stdout.
|
|
162
|
+
* `--no-key` Ignore signing key and send clear update.
|
|
163
|
+
* `--no-code-check` Ignore checking if notifyAppReady() is called in source code and index present in root folder.
|
|
164
|
+
* `--display-iv-session` Show in the console the IV and session key used to encrypt the update.
|
|
165
|
+
* `--tus` Upload the bundle using TUS protocol.
|
|
166
|
+
* `--bundle <bundle>` Bundle version number of the bundle to upload.
|
|
167
|
+
* `--min-update-version <minUpdateVersion>` Minimal version required to update to this version. Used only if the disable auto update is set to metadata in channel.
|
|
168
|
+
* `--auto-min-update-version` Set the min update version based on native packages.
|
|
169
|
+
* `--ignore-metadata-check` Ignores the metadata (node_modules) check when uploading.
|
|
170
|
+
* `--ignore-checksum-check` Ignores the checksum check when uploading.
|
|
171
|
+
* `--timeout <timeout>` Timeout for the upload process in seconds.
|
|
172
|
+
* `--ignore-partial` Does not upload partial files to S3.
|
|
173
|
+
* `--encrypted-checksum <encryptedChecksum>` An encrypted checksum (signature). Used only when uploading an external bundle.
|
|
159
174
|
|
|
160
175
|
> ⭐️ External option helps to unlock 2 cases: corporate with privacy concern, don't send the code to a third part and app bigger than 200 MB. With this setting, Capgo store only the link to the zip and sends the link to all apps.
|
|
161
176
|
|
|
@@ -341,7 +356,7 @@ Optionally, you can give:
|
|
|
341
356
|
* `--no-android` disallows the channel to send version to android devices.
|
|
342
357
|
* `--self-assign` allows devices to self assign to this channel.
|
|
343
358
|
* `--no-self-assign` disallows devices to self assign to this channel.
|
|
344
|
-
* `--disable-auto-update STRATEGY` Disable auto update strategy for this channel.The possible options are: major, minor, metadata, none.
|
|
359
|
+
* `--disable-auto-update STRATEGY` Disable auto update strategy for this channel. The possible options are: major, minor, metadata, none.
|
|
345
360
|
* `--apikey [key]` API key to link to your account.
|
|
346
361
|
|
|
347
362
|
## Disable updates strategy
|