Skip to main content

ionic-cloud destination get

[ionic-cloud, destination, get]

Get info for a destination in Appflow

ionic-cloud destination get [flags]

Examples

ionic-cloud destination get --app-id=a1234bc --name="Development"

Flags

NameTypeDefaultDescription
--app-id [required]stringAppflow app id
--name [required]stringAppflow destination name

Global Flags

NameTypeDefaultDescription
-h, --helpbooleanfalsePrint help information for command
--configstringIonic Cloud config file (.ionic-cloud.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
namestringThe name of a Destination you've created in Appflow.
targetstringThe target (Apple App Store/Google Play) of your Destination in Appflow.
latestDeployment (optional)objectThe latest successful deployment associated with this Channel or Destination.
.buildIdnumberA unique identifier for a build done in Appflow.
.buildNumber (optional)numberAn app-specific build number for builds done in Appflow.
.triggeredBystringAppflow user that triggered the build associated with this deployment.
.commitSha (optional)stringThe commit hash.
.commitAuthorstringThe git user that created the commit associated with this build.
.commitCreatedstringString of datetime when the commit was created
.commitBranchstringThe branch on which the commit was created.
appleAppIdstringYour app's unique identifier in Appflow.
usernamestringThe username of the Apple account associated with this Destination.
teamId (optional)stringThe id of the Apple Developer team associated with this Destination.
packageName (optional)stringThe package for the Google Play App associated with this Destination.
trackstringThe track for the Google Play App associated with this Destination.
releaseStatusstringThe release status for the Google Play App associated with this Destination.
Successful Apple App Store Output
{
"name": "Development",
"target": "Apple App Store",
"latestDeployment": {
"buildId": 123,
"buildNumber": 25,
"triggeredBy": "Jane Doe",
"commitSha": "cef1sdca",
"commitAuthor": "Dominic Ash",
"commitCreated": "2022-12-09T19:38:09Z",
"commitBranch": "main"
},
"appleAppId": "123",
"username": "me@apple.com",
"teamId": "XYZ"
}
Successful Google Play Output
{
"name": "Development",
"target": "Google Play",
"latestDeployment": null,
"packageName": "com.example.app",
"track": "INTERNAL",
"releaseStatus": "DRAFT"
}