Skip to main content

appflow live-update download-artifact

[appflow, live-update, download-artifact]

Download the latest web build from a Live Update channel in Appflow

appflow live-update download-artifact [flags]

Examples

appflow live-update download-artifact --app-id b3456cd --channel-name Development [--zip-name build.zip --json]

Aliases

  • "download"

Flags

NameTypeDefaultDescription
--app-id [required]stringAppflow app id
--channel-name [required]stringLive Update channel name
--zip-namestringSpecify name for zip file

Global Flags

NameTypeDefaultDescription
-h, --helpbooleanfalsePrint help information for command
--configstringAppflow config file (.appflow.yaml by default)
--jsonbooleanfalseFor commands with output, shortcut to print as JSON
--outputstring"text"For commands with output, print as [json] or human readable [text]
--tokenstringIonic authorization token

Outputs

NameTypeDescription
appIdstringYour app's unique identifier in Appflow.
channelNamestringThe name of a channel that hosts Live Updates.
zipName (optional)stringThe relative filepath containing the downloaded Live Update ZIP.
status"CREATED" | "PENDING" | "RUNNING" | "BUILDING" | "FAILED" | "SUCCESS" | "CANCELED"The status of the Live Update download request.
Successful Output
{
"appId": "052b32ac",
"channelName": "Production",
"zipName": "0e949006-65e4-4f22-8579-7fa8cf7b11c0.zip",
"status": "SUCCESS"
}
Failed Output
{
"appId": "052b32ac",
"channelName": "Production",
"zipName": null,
"status": "FAILED"
}