get
Description
Get a mobile application binary from the binary store
Syntax
ern binarystore get <descriptor> <outDir>
Arguments
<descriptor>
A complete native application descriptor (ex:
myapp:android:1.0.0
), representing the native application version associated to this binary.
<outDir>
Relative or absolute path to a directory where the binary will be transferred to. If the directory does not exist, it will be created.
Options
--flavor
Custom flavor of this binary that should be retrieved.
The binary of a specific application version (for ex
1.0.0
) can have different flavors, representing different build types of the same application version (for exampleDev
/Prod
/QA
...).
Remarks
This command will only work if the following conditions are met:
A binary store server is running
There is an active Cauldron
The active Cauldron contains a proper configuration of the binary store
If a binary for the same native application version already exists in
outDir
, it will be replacedThe binary will be named as follows
[mobile-app-name]:[platform]:[version].[ext]
For example, formyapp:android:1.0.0
, the binary filename will bemyapp-android-1.0.0.apk
. Formyapp:ios:1.0.0
it will bemyapp-ios-1.0.0.app
.
Related commands
ern binarystore add | Add a native application binary to the binary store ern binarystore remove | Remove a native application binary from the binary store
Last updated