eas-cli 16.2.2 → 16.3.0

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 CHANGED
@@ -70,6 +70,7 @@ eas --help COMMAND
70
70
  * [`eas build:configure`](#eas-buildconfigure)
71
71
  * [`eas build:delete [BUILD_ID]`](#eas-builddelete-build_id)
72
72
  * [`eas build:dev`](#eas-builddev)
73
+ * [`eas build:download`](#eas-builddownload)
73
74
  * [`eas build:inspect`](#eas-buildinspect)
74
75
  * [`eas build:list`](#eas-buildlist)
75
76
  * [`eas build:resign`](#eas-buildresign)
@@ -161,7 +162,7 @@ ALIASES
161
162
  $ eas login
162
163
  ```
163
164
 
164
- _See code: [packages/eas-cli/src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/account/login.ts)_
165
+ _See code: [packages/eas-cli/src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/account/login.ts)_
165
166
 
166
167
  ## `eas account:logout`
167
168
 
@@ -178,7 +179,7 @@ ALIASES
178
179
  $ eas logout
179
180
  ```
180
181
 
181
- _See code: [packages/eas-cli/src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/account/logout.ts)_
182
+ _See code: [packages/eas-cli/src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/account/logout.ts)_
182
183
 
183
184
  ## `eas account:view`
184
185
 
@@ -195,7 +196,7 @@ ALIASES
195
196
  $ eas whoami
196
197
  ```
197
198
 
198
- _See code: [packages/eas-cli/src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/account/view.ts)_
199
+ _See code: [packages/eas-cli/src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/account/view.ts)_
199
200
 
200
201
  ## `eas analytics [STATUS]`
201
202
 
@@ -209,7 +210,7 @@ DESCRIPTION
209
210
  display or change analytics settings
210
211
  ```
211
212
 
212
- _See code: [packages/eas-cli/src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/analytics.ts)_
213
+ _See code: [packages/eas-cli/src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/analytics.ts)_
213
214
 
214
215
  ## `eas autocomplete [SHELL]`
215
216
 
@@ -261,7 +262,7 @@ DESCRIPTION
261
262
  create a branch
262
263
  ```
263
264
 
264
- _See code: [packages/eas-cli/src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/branch/create.ts)_
265
+ _See code: [packages/eas-cli/src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/branch/create.ts)_
265
266
 
266
267
  ## `eas branch:delete [NAME]`
267
268
 
@@ -282,7 +283,7 @@ DESCRIPTION
282
283
  delete a branch
283
284
  ```
284
285
 
285
- _See code: [packages/eas-cli/src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/branch/delete.ts)_
286
+ _See code: [packages/eas-cli/src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/branch/delete.ts)_
286
287
 
287
288
  ## `eas branch:list`
288
289
 
@@ -302,7 +303,7 @@ DESCRIPTION
302
303
  list all branches
303
304
  ```
304
305
 
305
- _See code: [packages/eas-cli/src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/branch/list.ts)_
306
+ _See code: [packages/eas-cli/src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/branch/list.ts)_
306
307
 
307
308
  ## `eas branch:rename`
308
309
 
@@ -322,7 +323,7 @@ DESCRIPTION
322
323
  rename a branch
323
324
  ```
324
325
 
325
- _See code: [packages/eas-cli/src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/branch/rename.ts)_
326
+ _See code: [packages/eas-cli/src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/branch/rename.ts)_
326
327
 
327
328
  ## `eas branch:view [NAME]`
328
329
 
@@ -345,7 +346,7 @@ DESCRIPTION
345
346
  view a branch
346
347
  ```
347
348
 
348
- _See code: [packages/eas-cli/src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/branch/view.ts)_
349
+ _See code: [packages/eas-cli/src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/branch/view.ts)_
349
350
 
350
351
  ## `eas build`
351
352
 
@@ -382,7 +383,7 @@ DESCRIPTION
382
383
  start a build
383
384
  ```
384
385
 
385
- _See code: [packages/eas-cli/src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/build/index.ts)_
386
+ _See code: [packages/eas-cli/src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/build/index.ts)_
386
387
 
387
388
  ## `eas build:cancel [BUILD_ID]`
388
389
 
@@ -401,7 +402,7 @@ DESCRIPTION
401
402
  cancel a build
402
403
  ```
403
404
 
404
- _See code: [packages/eas-cli/src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/build/cancel.ts)_
405
+ _See code: [packages/eas-cli/src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/build/cancel.ts)_
405
406
 
406
407
  ## `eas build:configure`
407
408
 
@@ -418,7 +419,7 @@ DESCRIPTION
418
419
  configure the project to support EAS Build
419
420
  ```
420
421
 
421
- _See code: [packages/eas-cli/src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/build/configure.ts)_
422
+ _See code: [packages/eas-cli/src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/build/configure.ts)_
422
423
 
423
424
  ## `eas build:delete [BUILD_ID]`
424
425
 
@@ -437,7 +438,7 @@ DESCRIPTION
437
438
  delete a build
438
439
  ```
439
440
 
440
- _See code: [packages/eas-cli/src/commands/build/delete.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/build/delete.ts)_
441
+ _See code: [packages/eas-cli/src/commands/build/delete.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/build/delete.ts)_
441
442
 
442
443
  ## `eas build:dev`
443
444
 
@@ -457,7 +458,28 @@ DESCRIPTION
457
458
  run dev client simulator/emulator build with matching fingerprint or create a new one
458
459
  ```
459
460
 
460
- _See code: [packages/eas-cli/src/commands/build/dev.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/build/dev.ts)_
461
+ _See code: [packages/eas-cli/src/commands/build/dev.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/build/dev.ts)_
462
+
463
+ ## `eas build:download`
464
+
465
+ download simulator/emulator builds for a given fingerprint hash
466
+
467
+ ```
468
+ USAGE
469
+ $ eas build:download --fingerprint <value> [-p ios|android] [--dev-client] [--json --non-interactive]
470
+
471
+ FLAGS
472
+ -p, --platform=(ios|android)
473
+ --dev-client Filter only dev-client builds.
474
+ --fingerprint=<value> (required) Fingerprint hash of the build to download
475
+ --json Enable JSON output, non-JSON messages will be printed to stderr.
476
+ --non-interactive Run the command in non-interactive mode.
477
+
478
+ DESCRIPTION
479
+ download simulator/emulator builds for a given fingerprint hash
480
+ ```
481
+
482
+ _See code: [packages/eas-cli/src/commands/build/download.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/build/download.ts)_
461
483
 
462
484
  ## `eas build:inspect`
463
485
 
@@ -492,7 +514,7 @@ DESCRIPTION
492
514
  inspect the state of the project at specific build stages, useful for troubleshooting
493
515
  ```
494
516
 
495
- _See code: [packages/eas-cli/src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/build/inspect.ts)_
517
+ _See code: [packages/eas-cli/src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/build/inspect.ts)_
496
518
 
497
519
  ## `eas build:list`
498
520
 
@@ -544,7 +566,7 @@ DESCRIPTION
544
566
  list all builds for your project
545
567
  ```
546
568
 
547
- _See code: [packages/eas-cli/src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/build/list.ts)_
569
+ _See code: [packages/eas-cli/src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/build/list.ts)_
548
570
 
549
571
  ## `eas build:resign`
550
572
 
@@ -573,7 +595,7 @@ DESCRIPTION
573
595
  re-sign a build archive
574
596
  ```
575
597
 
576
- _See code: [packages/eas-cli/src/commands/build/resign.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/build/resign.ts)_
598
+ _See code: [packages/eas-cli/src/commands/build/resign.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/build/resign.ts)_
577
599
 
578
600
  ## `eas build:run`
579
601
 
@@ -599,7 +621,7 @@ DESCRIPTION
599
621
  run simulator/emulator builds from eas-cli
600
622
  ```
601
623
 
602
- _See code: [packages/eas-cli/src/commands/build/run.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/build/run.ts)_
624
+ _See code: [packages/eas-cli/src/commands/build/run.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/build/run.ts)_
603
625
 
604
626
  ## `eas build:submit`
605
627
 
@@ -649,7 +671,7 @@ DESCRIPTION
649
671
  get the latest version from EAS servers
650
672
  ```
651
673
 
652
- _See code: [packages/eas-cli/src/commands/build/version/get.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/build/version/get.ts)_
674
+ _See code: [packages/eas-cli/src/commands/build/version/get.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/build/version/get.ts)_
653
675
 
654
676
  ## `eas build:version:set`
655
677
 
@@ -668,7 +690,7 @@ DESCRIPTION
668
690
  update version of an app
669
691
  ```
670
692
 
671
- _See code: [packages/eas-cli/src/commands/build/version/set.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/build/version/set.ts)_
693
+ _See code: [packages/eas-cli/src/commands/build/version/set.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/build/version/set.ts)_
672
694
 
673
695
  ## `eas build:version:sync`
674
696
 
@@ -687,7 +709,7 @@ DESCRIPTION
687
709
  update a version in native code with a value stored on EAS servers
688
710
  ```
689
711
 
690
- _See code: [packages/eas-cli/src/commands/build/version/sync.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/build/version/sync.ts)_
712
+ _See code: [packages/eas-cli/src/commands/build/version/sync.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/build/version/sync.ts)_
691
713
 
692
714
  ## `eas build:view [BUILD_ID]`
693
715
 
@@ -704,7 +726,7 @@ DESCRIPTION
704
726
  view a build for your project
705
727
  ```
706
728
 
707
- _See code: [packages/eas-cli/src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/build/view.ts)_
729
+ _See code: [packages/eas-cli/src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/build/view.ts)_
708
730
 
709
731
  ## `eas channel:create [NAME]`
710
732
 
@@ -725,7 +747,7 @@ DESCRIPTION
725
747
  create a channel
726
748
  ```
727
749
 
728
- _See code: [packages/eas-cli/src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/channel/create.ts)_
750
+ _See code: [packages/eas-cli/src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/channel/create.ts)_
729
751
 
730
752
  ## `eas channel:edit [NAME]`
731
753
 
@@ -747,7 +769,7 @@ DESCRIPTION
747
769
  point a channel at a new branch
748
770
  ```
749
771
 
750
- _See code: [packages/eas-cli/src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/channel/edit.ts)_
772
+ _See code: [packages/eas-cli/src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/channel/edit.ts)_
751
773
 
752
774
  ## `eas channel:list`
753
775
 
@@ -767,7 +789,7 @@ DESCRIPTION
767
789
  list all channels
768
790
  ```
769
791
 
770
- _See code: [packages/eas-cli/src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/channel/list.ts)_
792
+ _See code: [packages/eas-cli/src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/channel/list.ts)_
771
793
 
772
794
  ## `eas channel:pause [NAME]`
773
795
 
@@ -789,7 +811,7 @@ DESCRIPTION
789
811
  pause a channel to stop it from sending updates
790
812
  ```
791
813
 
792
- _See code: [packages/eas-cli/src/commands/channel/pause.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/channel/pause.ts)_
814
+ _See code: [packages/eas-cli/src/commands/channel/pause.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/channel/pause.ts)_
793
815
 
794
816
  ## `eas channel:resume [NAME]`
795
817
 
@@ -811,7 +833,7 @@ DESCRIPTION
811
833
  resume a channel to start sending updates
812
834
  ```
813
835
 
814
- _See code: [packages/eas-cli/src/commands/channel/resume.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/channel/resume.ts)_
836
+ _See code: [packages/eas-cli/src/commands/channel/resume.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/channel/resume.ts)_
815
837
 
816
838
  ## `eas channel:rollout [CHANNEL]`
817
839
 
@@ -844,7 +866,7 @@ DESCRIPTION
844
866
  Roll a new branch out on a channel incrementally.
845
867
  ```
846
868
 
847
- _See code: [packages/eas-cli/src/commands/channel/rollout.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/channel/rollout.ts)_
869
+ _See code: [packages/eas-cli/src/commands/channel/rollout.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/channel/rollout.ts)_
848
870
 
849
871
  ## `eas channel:view [NAME]`
850
872
 
@@ -867,7 +889,7 @@ DESCRIPTION
867
889
  view a channel
868
890
  ```
869
891
 
870
- _See code: [packages/eas-cli/src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/channel/view.ts)_
892
+ _See code: [packages/eas-cli/src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/channel/view.ts)_
871
893
 
872
894
  ## `eas config`
873
895
 
@@ -888,7 +910,7 @@ DESCRIPTION
888
910
  display project configuration (app.json + eas.json)
889
911
  ```
890
912
 
891
- _See code: [packages/eas-cli/src/commands/config.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/config.ts)_
913
+ _See code: [packages/eas-cli/src/commands/config.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/config.ts)_
892
914
 
893
915
  ## `eas credentials`
894
916
 
@@ -905,7 +927,7 @@ DESCRIPTION
905
927
  manage credentials
906
928
  ```
907
929
 
908
- _See code: [packages/eas-cli/src/commands/credentials/index.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/credentials/index.ts)_
930
+ _See code: [packages/eas-cli/src/commands/credentials/index.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/credentials/index.ts)_
909
931
 
910
932
  ## `eas credentials:configure-build`
911
933
 
@@ -923,7 +945,7 @@ DESCRIPTION
923
945
  Set up credentials for building your project.
924
946
  ```
925
947
 
926
- _See code: [packages/eas-cli/src/commands/credentials/configure-build.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/credentials/configure-build.ts)_
948
+ _See code: [packages/eas-cli/src/commands/credentials/configure-build.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/credentials/configure-build.ts)_
927
949
 
928
950
  ## `eas deploy [options]`
929
951
 
@@ -951,7 +973,7 @@ ALIASES
951
973
  $ eas worker:deploy
952
974
  ```
953
975
 
954
- _See code: [packages/eas-cli/src/commands/deploy/index.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/deploy/index.ts)_
976
+ _See code: [packages/eas-cli/src/commands/deploy/index.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/deploy/index.ts)_
955
977
 
956
978
  ## `eas deploy:alias`
957
979
 
@@ -976,7 +998,7 @@ ALIASES
976
998
  $ eas deploy:promote
977
999
  ```
978
1000
 
979
- _See code: [packages/eas-cli/src/commands/deploy/alias.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/deploy/alias.ts)_
1001
+ _See code: [packages/eas-cli/src/commands/deploy/alias.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/deploy/alias.ts)_
980
1002
 
981
1003
  ## `eas deploy:promote`
982
1004
 
@@ -1013,7 +1035,7 @@ DESCRIPTION
1013
1035
  register new Apple Devices to use for internal distribution
1014
1036
  ```
1015
1037
 
1016
- _See code: [packages/eas-cli/src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/device/create.ts)_
1038
+ _See code: [packages/eas-cli/src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/device/create.ts)_
1017
1039
 
1018
1040
  ## `eas device:delete`
1019
1041
 
@@ -1033,7 +1055,7 @@ DESCRIPTION
1033
1055
  remove a registered device from your account
1034
1056
  ```
1035
1057
 
1036
- _See code: [packages/eas-cli/src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/device/delete.ts)_
1058
+ _See code: [packages/eas-cli/src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/device/delete.ts)_
1037
1059
 
1038
1060
  ## `eas device:list`
1039
1061
 
@@ -1054,7 +1076,7 @@ DESCRIPTION
1054
1076
  list all registered devices for your account
1055
1077
  ```
1056
1078
 
1057
- _See code: [packages/eas-cli/src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/device/list.ts)_
1079
+ _See code: [packages/eas-cli/src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/device/list.ts)_
1058
1080
 
1059
1081
  ## `eas device:rename`
1060
1082
 
@@ -1075,7 +1097,7 @@ DESCRIPTION
1075
1097
  rename a registered device
1076
1098
  ```
1077
1099
 
1078
- _See code: [packages/eas-cli/src/commands/device/rename.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/device/rename.ts)_
1100
+ _See code: [packages/eas-cli/src/commands/device/rename.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/device/rename.ts)_
1079
1101
 
1080
1102
  ## `eas device:view [UDID]`
1081
1103
 
@@ -1089,7 +1111,7 @@ DESCRIPTION
1089
1111
  view a device for your project
1090
1112
  ```
1091
1113
 
1092
- _See code: [packages/eas-cli/src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/device/view.ts)_
1114
+ _See code: [packages/eas-cli/src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/device/view.ts)_
1093
1115
 
1094
1116
  ## `eas diagnostics`
1095
1117
 
@@ -1103,7 +1125,7 @@ DESCRIPTION
1103
1125
  display environment info
1104
1126
  ```
1105
1127
 
1106
- _See code: [packages/eas-cli/src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/diagnostics.ts)_
1128
+ _See code: [packages/eas-cli/src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/diagnostics.ts)_
1107
1129
 
1108
1130
  ## `eas env:create [ENVIRONMENT]`
1109
1131
 
@@ -1132,7 +1154,7 @@ DESCRIPTION
1132
1154
  create an environment variable for the current project or account
1133
1155
  ```
1134
1156
 
1135
- _See code: [packages/eas-cli/src/commands/env/create.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/env/create.ts)_
1157
+ _See code: [packages/eas-cli/src/commands/env/create.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/env/create.ts)_
1136
1158
 
1137
1159
  ## `eas env:delete [ENVIRONMENT]`
1138
1160
 
@@ -1156,7 +1178,7 @@ DESCRIPTION
1156
1178
  delete an environment variable for the current project or account
1157
1179
  ```
1158
1180
 
1159
- _See code: [packages/eas-cli/src/commands/env/delete.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/env/delete.ts)_
1181
+ _See code: [packages/eas-cli/src/commands/env/delete.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/env/delete.ts)_
1160
1182
 
1161
1183
  ## `eas env:exec ENVIRONMENT BASH_COMMAND`
1162
1184
 
@@ -1177,7 +1199,7 @@ DESCRIPTION
1177
1199
  execute a command with environment variables from the selected environment
1178
1200
  ```
1179
1201
 
1180
- _See code: [packages/eas-cli/src/commands/env/exec.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/env/exec.ts)_
1202
+ _See code: [packages/eas-cli/src/commands/env/exec.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/env/exec.ts)_
1181
1203
 
1182
1204
  ## `eas env:get [ENVIRONMENT]`
1183
1205
 
@@ -1202,7 +1224,7 @@ DESCRIPTION
1202
1224
  view an environment variable for the current project or account
1203
1225
  ```
1204
1226
 
1205
- _See code: [packages/eas-cli/src/commands/env/get.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/env/get.ts)_
1227
+ _See code: [packages/eas-cli/src/commands/env/get.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/env/get.ts)_
1206
1228
 
1207
1229
  ## `eas env:list [ENVIRONMENT]`
1208
1230
 
@@ -1227,7 +1249,7 @@ DESCRIPTION
1227
1249
  list environment variables for the current project or account
1228
1250
  ```
1229
1251
 
1230
- _See code: [packages/eas-cli/src/commands/env/list.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/env/list.ts)_
1252
+ _See code: [packages/eas-cli/src/commands/env/list.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/env/list.ts)_
1231
1253
 
1232
1254
  ## `eas env:pull [ENVIRONMENT]`
1233
1255
 
@@ -1250,7 +1272,7 @@ DESCRIPTION
1250
1272
  pull environment variables for the selected environment to .env file
1251
1273
  ```
1252
1274
 
1253
- _See code: [packages/eas-cli/src/commands/env/pull.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/env/pull.ts)_
1275
+ _See code: [packages/eas-cli/src/commands/env/pull.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/env/pull.ts)_
1254
1276
 
1255
1277
  ## `eas env:push [ENVIRONMENT]`
1256
1278
 
@@ -1271,7 +1293,7 @@ DESCRIPTION
1271
1293
  push environment variables from .env file to the selected environment
1272
1294
  ```
1273
1295
 
1274
- _See code: [packages/eas-cli/src/commands/env/push.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/env/push.ts)_
1296
+ _See code: [packages/eas-cli/src/commands/env/push.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/env/push.ts)_
1275
1297
 
1276
1298
  ## `eas env:update [ENVIRONMENT]`
1277
1299
 
@@ -1302,7 +1324,7 @@ DESCRIPTION
1302
1324
  update an environment variable on the current project or account
1303
1325
  ```
1304
1326
 
1305
- _See code: [packages/eas-cli/src/commands/env/update.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/env/update.ts)_
1327
+ _See code: [packages/eas-cli/src/commands/env/update.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/env/update.ts)_
1306
1328
 
1307
1329
  ## `eas fingerprint:compare [HASH1] [HASH2]`
1308
1330
 
@@ -1347,7 +1369,7 @@ EXAMPLES
1347
1369
  $ eas fingerprint:compare <FINGERPRINT-HASH> --update-id <UPDATE-ID> # Compare fingerprint from update against provided fingerprint
1348
1370
  ```
1349
1371
 
1350
- _See code: [packages/eas-cli/src/commands/fingerprint/compare.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/fingerprint/compare.ts)_
1372
+ _See code: [packages/eas-cli/src/commands/fingerprint/compare.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/fingerprint/compare.ts)_
1351
1373
 
1352
1374
  ## `eas fingerprint:generate`
1353
1375
 
@@ -1378,7 +1400,7 @@ EXAMPLES
1378
1400
  $ eas fingerprint:generate --json --non-interactive --platform android # Output fingerprint json to stdout
1379
1401
  ```
1380
1402
 
1381
- _See code: [packages/eas-cli/src/commands/fingerprint/generate.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/fingerprint/generate.ts)_
1403
+ _See code: [packages/eas-cli/src/commands/fingerprint/generate.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/fingerprint/generate.ts)_
1382
1404
 
1383
1405
  ## `eas help [COMMAND]`
1384
1406
 
@@ -1486,7 +1508,7 @@ DESCRIPTION
1486
1508
  validate the local store configuration
1487
1509
  ```
1488
1510
 
1489
- _See code: [packages/eas-cli/src/commands/metadata/lint.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/metadata/lint.ts)_
1511
+ _See code: [packages/eas-cli/src/commands/metadata/lint.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/metadata/lint.ts)_
1490
1512
 
1491
1513
  ## `eas metadata:pull`
1492
1514
 
@@ -1503,7 +1525,7 @@ DESCRIPTION
1503
1525
  generate the local store configuration from the app stores
1504
1526
  ```
1505
1527
 
1506
- _See code: [packages/eas-cli/src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/metadata/pull.ts)_
1528
+ _See code: [packages/eas-cli/src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/metadata/pull.ts)_
1507
1529
 
1508
1530
  ## `eas metadata:push`
1509
1531
 
@@ -1520,7 +1542,7 @@ DESCRIPTION
1520
1542
  sync the local store configuration to the app stores
1521
1543
  ```
1522
1544
 
1523
- _See code: [packages/eas-cli/src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/metadata/push.ts)_
1545
+ _See code: [packages/eas-cli/src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/metadata/push.ts)_
1524
1546
 
1525
1547
  ## `eas onboarding [TARGET_PROJECT_DIRECTORY]`
1526
1548
 
@@ -1550,7 +1572,7 @@ DESCRIPTION
1550
1572
  open the project page in a web browser
1551
1573
  ```
1552
1574
 
1553
- _See code: [packages/eas-cli/src/commands/open.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/open.ts)_
1575
+ _See code: [packages/eas-cli/src/commands/open.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/open.ts)_
1554
1576
 
1555
1577
  ## `eas project:info`
1556
1578
 
@@ -1564,7 +1586,7 @@ DESCRIPTION
1564
1586
  information about the current project
1565
1587
  ```
1566
1588
 
1567
- _See code: [packages/eas-cli/src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/project/info.ts)_
1589
+ _See code: [packages/eas-cli/src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/project/info.ts)_
1568
1590
 
1569
1591
  ## `eas project:init`
1570
1592
 
@@ -1587,7 +1609,7 @@ ALIASES
1587
1609
  $ eas init
1588
1610
  ```
1589
1611
 
1590
- _See code: [packages/eas-cli/src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/project/init.ts)_
1612
+ _See code: [packages/eas-cli/src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/project/init.ts)_
1591
1613
 
1592
1614
  ## `eas project:onboarding [TARGET_PROJECT_DIRECTORY]`
1593
1615
 
@@ -1605,7 +1627,7 @@ ALIASES
1605
1627
  $ eas onboarding
1606
1628
  ```
1607
1629
 
1608
- _See code: [packages/eas-cli/src/commands/project/onboarding.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/project/onboarding.ts)_
1630
+ _See code: [packages/eas-cli/src/commands/project/onboarding.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/project/onboarding.ts)_
1609
1631
 
1610
1632
  ## `eas submit`
1611
1633
 
@@ -1636,7 +1658,7 @@ ALIASES
1636
1658
  $ eas build:submit
1637
1659
  ```
1638
1660
 
1639
- _See code: [packages/eas-cli/src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/submit.ts)_
1661
+ _See code: [packages/eas-cli/src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/submit.ts)_
1640
1662
 
1641
1663
  ## `eas update`
1642
1664
 
@@ -1678,7 +1700,7 @@ DESCRIPTION
1678
1700
  publish an update group
1679
1701
  ```
1680
1702
 
1681
- _See code: [packages/eas-cli/src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/update/index.ts)_
1703
+ _See code: [packages/eas-cli/src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/update/index.ts)_
1682
1704
 
1683
1705
  ## `eas update:configure`
1684
1706
 
@@ -1698,7 +1720,7 @@ DESCRIPTION
1698
1720
  configure the project to support EAS Update
1699
1721
  ```
1700
1722
 
1701
- _See code: [packages/eas-cli/src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/update/configure.ts)_
1723
+ _See code: [packages/eas-cli/src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/update/configure.ts)_
1702
1724
 
1703
1725
  ## `eas update:delete GROUPID`
1704
1726
 
@@ -1719,7 +1741,7 @@ DESCRIPTION
1719
1741
  delete all the updates in an update group
1720
1742
  ```
1721
1743
 
1722
- _See code: [packages/eas-cli/src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/update/delete.ts)_
1744
+ _See code: [packages/eas-cli/src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/update/delete.ts)_
1723
1745
 
1724
1746
  ## `eas update:edit [GROUPID]`
1725
1747
 
@@ -1743,7 +1765,7 @@ DESCRIPTION
1743
1765
  edit all the updates in an update group
1744
1766
  ```
1745
1767
 
1746
- _See code: [packages/eas-cli/src/commands/update/edit.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/update/edit.ts)_
1768
+ _See code: [packages/eas-cli/src/commands/update/edit.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/update/edit.ts)_
1747
1769
 
1748
1770
  ## `eas update:list`
1749
1771
 
@@ -1765,7 +1787,7 @@ DESCRIPTION
1765
1787
  view the recent updates
1766
1788
  ```
1767
1789
 
1768
- _See code: [packages/eas-cli/src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/update/list.ts)_
1790
+ _See code: [packages/eas-cli/src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/update/list.ts)_
1769
1791
 
1770
1792
  ## `eas update:republish`
1771
1793
 
@@ -1797,7 +1819,7 @@ DESCRIPTION
1797
1819
  roll back to an existing update
1798
1820
  ```
1799
1821
 
1800
- _See code: [packages/eas-cli/src/commands/update/republish.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/update/republish.ts)_
1822
+ _See code: [packages/eas-cli/src/commands/update/republish.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/update/republish.ts)_
1801
1823
 
1802
1824
  ## `eas update:roll-back-to-embedded`
1803
1825
 
@@ -1825,7 +1847,7 @@ DESCRIPTION
1825
1847
  roll back to the embedded update
1826
1848
  ```
1827
1849
 
1828
- _See code: [packages/eas-cli/src/commands/update/roll-back-to-embedded.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/update/roll-back-to-embedded.ts)_
1850
+ _See code: [packages/eas-cli/src/commands/update/roll-back-to-embedded.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/update/roll-back-to-embedded.ts)_
1829
1851
 
1830
1852
  ## `eas update:rollback`
1831
1853
 
@@ -1845,7 +1867,7 @@ DESCRIPTION
1845
1867
  roll back to an embedded update or an existing update
1846
1868
  ```
1847
1869
 
1848
- _See code: [packages/eas-cli/src/commands/update/rollback.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/update/rollback.ts)_
1870
+ _See code: [packages/eas-cli/src/commands/update/rollback.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/update/rollback.ts)_
1849
1871
 
1850
1872
  ## `eas update:view GROUPID`
1851
1873
 
@@ -1865,7 +1887,7 @@ DESCRIPTION
1865
1887
  update group details
1866
1888
  ```
1867
1889
 
1868
- _See code: [packages/eas-cli/src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/update/view.ts)_
1890
+ _See code: [packages/eas-cli/src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/update/view.ts)_
1869
1891
 
1870
1892
  ## `eas webhook:create`
1871
1893
 
@@ -1886,7 +1908,7 @@ DESCRIPTION
1886
1908
  create a webhook
1887
1909
  ```
1888
1910
 
1889
- _See code: [packages/eas-cli/src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/webhook/create.ts)_
1911
+ _See code: [packages/eas-cli/src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/webhook/create.ts)_
1890
1912
 
1891
1913
  ## `eas webhook:delete [ID]`
1892
1914
 
@@ -1906,7 +1928,7 @@ DESCRIPTION
1906
1928
  delete a webhook
1907
1929
  ```
1908
1930
 
1909
- _See code: [packages/eas-cli/src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/webhook/delete.ts)_
1931
+ _See code: [packages/eas-cli/src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/webhook/delete.ts)_
1910
1932
 
1911
1933
  ## `eas webhook:list`
1912
1934
 
@@ -1924,7 +1946,7 @@ DESCRIPTION
1924
1946
  list webhooks
1925
1947
  ```
1926
1948
 
1927
- _See code: [packages/eas-cli/src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/webhook/list.ts)_
1949
+ _See code: [packages/eas-cli/src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/webhook/list.ts)_
1928
1950
 
1929
1951
  ## `eas webhook:update`
1930
1952
 
@@ -1946,7 +1968,7 @@ DESCRIPTION
1946
1968
  update a webhook
1947
1969
  ```
1948
1970
 
1949
- _See code: [packages/eas-cli/src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/webhook/update.ts)_
1971
+ _See code: [packages/eas-cli/src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/webhook/update.ts)_
1950
1972
 
1951
1973
  ## `eas webhook:view ID`
1952
1974
 
@@ -1963,7 +1985,7 @@ DESCRIPTION
1963
1985
  view a webhook
1964
1986
  ```
1965
1987
 
1966
- _See code: [packages/eas-cli/src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/webhook/view.ts)_
1988
+ _See code: [packages/eas-cli/src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/webhook/view.ts)_
1967
1989
 
1968
1990
  ## `eas whoami`
1969
1991
 
@@ -2047,7 +2069,7 @@ DESCRIPTION
2047
2069
  create a new workflow configuration YAML file
2048
2070
  ```
2049
2071
 
2050
- _See code: [packages/eas-cli/src/commands/workflow/create.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/workflow/create.ts)_
2072
+ _See code: [packages/eas-cli/src/commands/workflow/create.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/workflow/create.ts)_
2051
2073
 
2052
2074
  ## `eas workflow:run [FILE]`
2053
2075
 
@@ -2067,7 +2089,7 @@ DESCRIPTION
2067
2089
  Run an EAS workflow
2068
2090
  ```
2069
2091
 
2070
- _See code: [packages/eas-cli/src/commands/workflow/run.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/workflow/run.ts)_
2092
+ _See code: [packages/eas-cli/src/commands/workflow/run.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/workflow/run.ts)_
2071
2093
 
2072
2094
  ## `eas workflow:validate PATH`
2073
2095
 
@@ -2087,5 +2109,5 @@ DESCRIPTION
2087
2109
  validate a workflow configuration yaml file
2088
2110
  ```
2089
2111
 
2090
- _See code: [packages/eas-cli/src/commands/workflow/validate.ts](https://github.com/expo/eas-cli/blob/v16.2.2/packages/eas-cli/src/commands/workflow/validate.ts)_
2112
+ _See code: [packages/eas-cli/src/commands/workflow/validate.ts](https://github.com/expo/eas-cli/blob/v16.3.0/packages/eas-cli/src/commands/workflow/validate.ts)_
2091
2113
  <!-- commandsstop -->
@@ -0,0 +1,20 @@
1
+ import { Platform } from '@expo/eas-build-job';
2
+ import EasCommand from '../../commandUtils/EasCommand';
3
+ import { AppPlatform, BuildFragment } from '../../graphql/generated';
4
+ export default class Download extends EasCommand {
5
+ static description: string;
6
+ static flags: {
7
+ json: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
8
+ 'non-interactive': import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
9
+ fingerprint: import("@oclif/core/lib/interfaces").OptionFlag<string>;
10
+ platform: import("@oclif/core/lib/interfaces").OptionFlag<Platform | undefined>;
11
+ 'dev-client': import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
12
+ };
13
+ static contextDefinition: {
14
+ projectId: import("../../commandUtils/context/ProjectIdContextField").ProjectIdContextField;
15
+ loggedIn: import("../../commandUtils/context/LoggedInContextField").default;
16
+ };
17
+ runAsync(): Promise<void>;
18
+ private getBuildAsync;
19
+ getPathToBuildArtifactAsync(build: BuildFragment, platform: AppPlatform): Promise<string>;
20
+ }
@@ -0,0 +1,114 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ const eas_build_job_1 = require("@expo/eas-build-job");
5
+ const core_1 = require("@oclif/core");
6
+ const chalk_1 = tslib_1.__importDefault(require("chalk"));
7
+ const fs_extra_1 = require("fs-extra");
8
+ const EasCommand_1 = tslib_1.__importDefault(require("../../commandUtils/EasCommand"));
9
+ const flags_1 = require("../../commandUtils/flags");
10
+ const generated_1 = require("../../graphql/generated");
11
+ const BuildQuery_1 = require("../../graphql/queries/BuildQuery");
12
+ const AppPlatform_1 = require("../../graphql/types/AppPlatform");
13
+ const log_1 = tslib_1.__importDefault(require("../../log"));
14
+ const prompts_1 = require("../../prompts");
15
+ const run_1 = require("../../run/run");
16
+ const download_1 = require("../../utils/download");
17
+ const json_1 = require("../../utils/json");
18
+ class Download extends EasCommand_1.default {
19
+ static description = 'download simulator/emulator builds for a given fingerprint hash';
20
+ static flags = {
21
+ fingerprint: core_1.Flags.string({
22
+ description: 'Fingerprint hash of the build to download',
23
+ required: true,
24
+ }),
25
+ platform: core_1.Flags.enum({
26
+ char: 'p',
27
+ options: [eas_build_job_1.Platform.IOS, eas_build_job_1.Platform.ANDROID],
28
+ }),
29
+ 'dev-client': core_1.Flags.boolean({
30
+ description: 'Filter only dev-client builds.',
31
+ }),
32
+ ...flags_1.EasNonInteractiveAndJsonFlags,
33
+ };
34
+ static contextDefinition = {
35
+ ...this.ContextOptions.LoggedIn,
36
+ ...this.ContextOptions.ProjectId,
37
+ };
38
+ async runAsync() {
39
+ const { flags: { json: jsonFlag, platform, fingerprint, 'dev-client': developmentClient, 'non-interactive': nonInteractive, }, } = await this.parse(Download);
40
+ const { loggedIn: { graphqlClient }, projectId, } = await this.getContextAsync(Download, {
41
+ nonInteractive,
42
+ });
43
+ if (jsonFlag) {
44
+ (0, json_1.enableJsonOutput)();
45
+ }
46
+ const selectedPlatform = await resolvePlatformAsync({ nonInteractive, platform });
47
+ const build = await this.getBuildAsync({
48
+ graphqlClient,
49
+ projectId,
50
+ platform: selectedPlatform,
51
+ fingerprintHash: fingerprint,
52
+ developmentClient,
53
+ });
54
+ const buildArtifactPath = await this.getPathToBuildArtifactAsync(build, selectedPlatform);
55
+ if (jsonFlag) {
56
+ const jsonResults = { path: buildArtifactPath };
57
+ (0, json_1.printJsonOnlyOutput)(jsonResults);
58
+ }
59
+ else {
60
+ log_1.default.log(`Build downloaded to ${chalk_1.default.bold(buildArtifactPath)}`);
61
+ }
62
+ }
63
+ async getBuildAsync({ graphqlClient, projectId, platform, fingerprintHash, developmentClient, }) {
64
+ const builds = await BuildQuery_1.BuildQuery.viewBuildsOnAppAsync(graphqlClient, {
65
+ appId: projectId,
66
+ filter: {
67
+ platform,
68
+ fingerprintHash,
69
+ status: generated_1.BuildStatus.Finished,
70
+ simulator: platform === generated_1.AppPlatform.Ios ? true : undefined,
71
+ distribution: platform === generated_1.AppPlatform.Android ? generated_1.DistributionType.Internal : undefined,
72
+ developmentClient,
73
+ },
74
+ offset: 0,
75
+ limit: 1,
76
+ });
77
+ if (builds.length === 0) {
78
+ throw new core_1.Errors.CLIError(`No builds available for ${platform} with fingerprint hash ${fingerprintHash}`);
79
+ }
80
+ log_1.default.succeed(`🎯 Found successful build with matching fingerprint on EAS servers.`);
81
+ return builds[0];
82
+ }
83
+ async getPathToBuildArtifactAsync(build, platform) {
84
+ const cachedBuildArtifactPath = (0, run_1.getEasBuildRunCachedAppPath)(build.project.id, build.id, platform);
85
+ if (await (0, fs_extra_1.pathExists)(cachedBuildArtifactPath)) {
86
+ log_1.default.newLine();
87
+ log_1.default.log(`Using cached build...`);
88
+ return cachedBuildArtifactPath;
89
+ }
90
+ if (!build.artifacts?.applicationArchiveUrl) {
91
+ throw new Error('Build does not have an application archive url');
92
+ }
93
+ return await (0, download_1.downloadAndMaybeExtractAppAsync)(build.artifacts.applicationArchiveUrl, platform, cachedBuildArtifactPath);
94
+ }
95
+ }
96
+ exports.default = Download;
97
+ async function resolvePlatformAsync({ nonInteractive, platform, }) {
98
+ if (nonInteractive && !platform) {
99
+ throw new Error('Platform must be provided in non-interactive mode');
100
+ }
101
+ if (platform) {
102
+ return (0, AppPlatform_1.toAppPlatform)(platform);
103
+ }
104
+ const { selectedPlatform } = await (0, prompts_1.promptAsync)({
105
+ type: 'select',
106
+ message: 'Select platform',
107
+ name: 'selectedPlatform',
108
+ choices: [
109
+ { title: 'Android', value: generated_1.AppPlatform.Android },
110
+ { title: 'iOS', value: generated_1.AppPlatform.Ios },
111
+ ],
112
+ });
113
+ return selectedPlatform;
114
+ }
@@ -4,6 +4,7 @@ export default class BuildUpload extends EasCommand {
4
4
  static description: string;
5
5
  static hidden: boolean;
6
6
  static flags: {
7
+ json: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
7
8
  'non-interactive': import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
8
9
  platform: import("@oclif/core/lib/interfaces").OptionFlag<Platform | undefined>;
9
10
  'build-path': import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
@@ -21,6 +21,7 @@ const log_1 = tslib_1.__importDefault(require("../log"));
21
21
  const prompts_1 = require("../prompts");
22
22
  const xcode = tslib_1.__importStar(require("../run/ios/xcode"));
23
23
  const uploads_1 = require("../uploads");
24
+ const json_1 = require("../utils/json");
24
25
  const paths_1 = require("../utils/paths");
25
26
  const progress_1 = require("../utils/progress");
26
27
  class BuildUpload extends EasCommand_1.default {
@@ -37,7 +38,7 @@ class BuildUpload extends EasCommand_1.default {
37
38
  fingerprint: core_1.Flags.string({
38
39
  description: 'Fingerprint hash of the local build',
39
40
  }),
40
- ...flags_1.EASNonInteractiveFlag,
41
+ ...flags_1.EasNonInteractiveAndJsonFlags,
41
42
  };
42
43
  static contextDefinition = {
43
44
  ...this.ContextOptions.ProjectId,
@@ -45,18 +46,26 @@ class BuildUpload extends EasCommand_1.default {
45
46
  };
46
47
  async runAsync() {
47
48
  const { flags } = await this.parse(BuildUpload);
48
- const { 'build-path': buildPath, fingerprint: manualFingerprintHash } = flags;
49
+ const { 'build-path': buildPath, fingerprint: manualFingerprintHash, json: jsonFlag, 'non-interactive': nonInteractive, } = flags;
49
50
  const { projectId, loggedIn: { graphqlClient }, } = await this.getContextAsync(BuildUpload, {
50
- nonInteractive: false,
51
+ nonInteractive,
52
+ });
53
+ if (jsonFlag) {
54
+ (0, json_1.enableJsonOutput)();
55
+ }
56
+ const platform = await this.selectPlatformAsync({ platform: flags.platform, nonInteractive });
57
+ const localBuildPath = await resolveLocalBuildPathAsync({
58
+ platform,
59
+ inputBuildPath: buildPath,
60
+ nonInteractive,
51
61
  });
52
- const platform = await this.selectPlatformAsync(flags.platform);
53
- const localBuildPath = await resolveLocalBuildPathAsync(platform, buildPath);
54
62
  const { fingerprintHash: buildFingerprintHash, developmentClient, simulator, } = await extractAppMetadataAsync(localBuildPath, platform);
55
63
  let fingerprint = manualFingerprintHash ?? buildFingerprintHash;
56
64
  if (fingerprint) {
57
65
  if (manualFingerprintHash &&
58
66
  buildFingerprintHash &&
59
- manualFingerprintHash !== buildFingerprintHash) {
67
+ manualFingerprintHash !== buildFingerprintHash &&
68
+ !nonInteractive) {
60
69
  const selectedAnswer = await (0, prompts_1.promptAsync)({
61
70
  name: 'fingerprint',
62
71
  message: `The provided fingerprint hash ${manualFingerprintHash} does not match the fingerprint hash of the build ${buildFingerprintHash}. Which fingerprint do you want to use?`,
@@ -77,9 +86,16 @@ class BuildUpload extends EasCommand_1.default {
77
86
  log_1.default.log('Uploading your app archive to EAS');
78
87
  const bucketKey = await uploadAppArchiveAsync(graphqlClient, localBuildPath);
79
88
  const build = await LocalBuildMutation_1.LocalBuildMutation.createLocalBuildAsync(graphqlClient, projectId, { platform: (0, AppPlatform_1.toAppPlatform)(platform), simulator }, { type: generated_1.LocalBuildArchiveSourceType.Gcs, bucketKey }, { distribution: generated_1.DistributionType.Internal, fingerprintHash: fingerprint, developmentClient });
80
- log_1.default.withTick(`Here is a sharable link of your build: ${(0, url_1.getBuildLogsUrl)(build)}`);
89
+ if (jsonFlag) {
90
+ (0, json_1.printJsonOnlyOutput)({ url: (0, url_1.getBuildLogsUrl)(build) });
91
+ return;
92
+ }
93
+ log_1.default.withTick(`Shareable link to the build: ${(0, url_1.getBuildLogsUrl)(build)}`);
81
94
  }
82
- async selectPlatformAsync(platform) {
95
+ async selectPlatformAsync({ nonInteractive, platform, }) {
96
+ if (nonInteractive && !platform) {
97
+ throw new Error('Platform must be provided in non-interactive mode');
98
+ }
83
99
  if (platform) {
84
100
  return platform;
85
101
  }
@@ -96,7 +112,7 @@ class BuildUpload extends EasCommand_1.default {
96
112
  }
97
113
  }
98
114
  exports.default = BuildUpload;
99
- async function resolveLocalBuildPathAsync(platform, inputBuildPath) {
115
+ async function resolveLocalBuildPathAsync({ platform, inputBuildPath, nonInteractive, }) {
100
116
  const rootDir = process.cwd();
101
117
  let applicationArchivePatternOrPath = [];
102
118
  if (inputBuildPath) {
@@ -119,7 +135,7 @@ async function resolveLocalBuildPathAsync(platform, inputBuildPath) {
119
135
  rootDir,
120
136
  patternOrPathArray: applicationArchivePatternOrPath,
121
137
  });
122
- if (applicationArchives.length === 0 && !inputBuildPath) {
138
+ if (applicationArchives.length === 0 && !nonInteractive && !inputBuildPath) {
123
139
  log_1.default.warn(`No application archives found at ${applicationArchivePatternOrPath}.`);
124
140
  const { path } = await (0, prompts_1.promptAsync)({
125
141
  type: 'text',
@@ -136,6 +152,9 @@ async function resolveLocalBuildPathAsync(platform, inputBuildPath) {
136
152
  return applicationArchives[0];
137
153
  }
138
154
  if (applicationArchives.length > 1) {
155
+ if (nonInteractive) {
156
+ return applicationArchives[0];
157
+ }
139
158
  const { path } = await (0, prompts_1.promptAsync)({
140
159
  type: 'select',
141
160
  name: 'path',
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "16.2.2",
2
+ "version": "16.3.0",
3
3
  "commands": {
4
4
  "analytics": {
5
5
  "id": "analytics",
@@ -247,6 +247,15 @@
247
247
  "description": "Fingerprint hash of the local build",
248
248
  "multiple": false
249
249
  },
250
+ "json": {
251
+ "name": "json",
252
+ "type": "boolean",
253
+ "description": "Enable JSON output, non-JSON messages will be printed to stderr.",
254
+ "allowNo": false,
255
+ "dependsOn": [
256
+ "non-interactive"
257
+ ]
258
+ },
250
259
  "non-interactive": {
251
260
  "name": "non-interactive",
252
261
  "type": "boolean",
@@ -707,6 +716,61 @@
707
716
  "projectId": {}
708
717
  }
709
718
  },
719
+ "build:download": {
720
+ "id": "build:download",
721
+ "description": "download simulator/emulator builds for a given fingerprint hash",
722
+ "strict": true,
723
+ "pluginName": "eas-cli",
724
+ "pluginAlias": "eas-cli",
725
+ "pluginType": "core",
726
+ "aliases": [],
727
+ "flags": {
728
+ "fingerprint": {
729
+ "name": "fingerprint",
730
+ "type": "option",
731
+ "description": "Fingerprint hash of the build to download",
732
+ "required": true,
733
+ "multiple": false
734
+ },
735
+ "platform": {
736
+ "name": "platform",
737
+ "type": "option",
738
+ "char": "p",
739
+ "helpValue": "(ios|android)",
740
+ "multiple": false,
741
+ "options": [
742
+ "ios",
743
+ "android"
744
+ ]
745
+ },
746
+ "dev-client": {
747
+ "name": "dev-client",
748
+ "type": "boolean",
749
+ "description": "Filter only dev-client builds.",
750
+ "allowNo": false
751
+ },
752
+ "json": {
753
+ "name": "json",
754
+ "type": "boolean",
755
+ "description": "Enable JSON output, non-JSON messages will be printed to stderr.",
756
+ "allowNo": false,
757
+ "dependsOn": [
758
+ "non-interactive"
759
+ ]
760
+ },
761
+ "non-interactive": {
762
+ "name": "non-interactive",
763
+ "type": "boolean",
764
+ "description": "Run the command in non-interactive mode.",
765
+ "allowNo": false
766
+ }
767
+ },
768
+ "args": {},
769
+ "contextDefinition": {
770
+ "loggedIn": {},
771
+ "projectId": {}
772
+ }
773
+ },
710
774
  "build": {
711
775
  "id": "build",
712
776
  "description": "start a build",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "eas-cli",
3
3
  "description": "EAS command line tool",
4
- "version": "16.2.2",
4
+ "version": "16.3.0",
5
5
  "author": "Expo <support@expo.dev>",
6
6
  "bin": {
7
7
  "eas": "./bin/run"
@@ -239,5 +239,5 @@
239
239
  "node": "20.11.0",
240
240
  "yarn": "1.22.21"
241
241
  },
242
- "gitHead": "98308bb3bd47d878e41fbb06583bc6bbc05b86b3"
242
+ "gitHead": "199bb78b150e304631ce23673136d2117897ffac"
243
243
  }