ionic-cloud build download-artifact
[ionic-cloud, build, download-artifact]
Download artifacts associated with a successful Appflow build
ionic-cloud build download-artifact [flags]
Examples
ionic-cloud build download-artifact --app-id=a1234bc --build-id=456 --aab
ionic-cloud build download-artifact --app-id=a1234bc --build-id=456 --aab-name=mapp.aab
ionic-cloud build download-artifact --app-id=a1234bc --build-id=456 --aab-name=mapp.aab --apk-name=mapp.apk
Flags
Name | Type | Default | Description |
---|---|---|---|
--app-id [required] | string | Appflow app id | |
--build-id [required] | number | Appflow build ID | |
--aab | boolean | false | Download aab file |
--aab-name | string | Download aab and rename file. Example: mapp.aab | |
--apk | boolean | false | Download apk file |
--apk-name | string | Download apk and rename file. Example: myapp.apk | |
--app-file | boolean | false | Download app file (simulator builds only) |
--app-file-name | string | Download app and rename file (simulator builds only). Example: myapp.app | |
--dsym | boolean | false | Download dsym zip file |
--dsym-name | string | Download dsym zip and rename file. Example: myapp.dsym.zip | |
--ipa | boolean | false | Download ipa file |
--ipa-name | string | Download ipa and rename file. Example: myapp.ipa | |
--xcarchive | boolean | false | Download xcarchive zip file |
--xcarchive-name | string | Download xcarchive zip and rename file. Example: myapp.xcarchive.zip | |
--zip | boolean | false | Download zip file |
--zip-name | string | Download zip and rename file. Example: myapp.zip |
Global Flags
Name | Type | Default | Description |
---|---|---|---|
-h, --help | boolean | false | Print help information for command |
--config | string | Ionic Cloud config file (.ionic-cloud.yaml by default) | |
--json | boolean | false | For commands with output, shortcut to print as JSON |
--output | string | "text" | For commands with output, print as [json] or human readable [text] |
--token | string | Ionic authorization token |
Outputs
Name | Type | Description |
---|---|---|
artifacts (optional) | { "APK": string, ... } | All artifacts that were saved by Appflow during a build, and are available for download. |