Debian Codegraph @

merge/test/fixtures/expo-cli/expected.ts

raw symbols SCIP
1 const _gen: Record<string, Fig.Generator> = {
2 npm: {
3 script(context) {
4 if (context[context.length - 1] === "") return "";
5 const searchTerm = context[context.length - 1];
6 return `curl -s -H "Accept: application/json" "https://api.npms.io/v2/search?q=${searchTerm}&size=20"`;
7 },
8 postProcess(script: string) {
9 try {
10 const { results } = JSON.parse(script);
11 return results.map((item) => ({
12 name: item.package.name,
13 description: item.package.description,
14 })) as Fig.Suggestion[];
15 } catch (e) {
16 return [];
17 }
18 },
19 },
20 "xcode-configuration": {
21 script: "xcodebuild -project ios/*.xcodeproj -list -json",
22 postProcess: (script: string) =>
23 JSON.parse(script).project.configurations.map((name) => ({ name })),
24 },
25 "xcode-scheme": {
26 script: "xcodebuild -project ios/*.xcodeproj -list -json",
27 postProcess: (script: string) =>
28 JSON.parse(script).project.schemes.map((name) => ({ name })),
29 },
30 "xcode-devices": {
31 script: "xcrun xctrace list devices",
32 postProcess: (script: string) =>
33 script
34 .split("\n")
35 .filter((item) => !item.match(/^=/))
36 .filter(Boolean)
37 .map((item) => item.split(/(.*?) (\(([0-9.]+)\) )?\(([0-9A-F-]+)\)/i))
38 // filter catalyst
39 .filter((item: string[] | null) => !!item?.[3])
40 .map(([, name, , osVersion, udid]) => ({
41 displayName: `${name.trim()} (${osVersion})`,
42 name: udid,
43 })),
44 },
45 "max-workers": {
46 script: "sysctl -n hw.ncpu",
47 postProcess: (script: string) => {
48 const count = Number(script);
49 return Array.from({ length: count }, (_, i) => {
50 const v = count - i;
51 return {
52 priority: v,
53 name: String(v),
54 };
55 });
56 },
57 },
58 };
59 const completionSpec: Fig.Spec = {
60 name: "expo-cli",
61 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/expo.png",
62 description:
63 "Tools for creating, running, and deploying Universal Expo and React Native apps",
64 options: [
65 {
66 name: ["-h", "--help"],
67 priority: 1,
68 description: "Output usage information",
69 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png",
70 },
71 {
72 name: ["-V", "--version"],
73 description: "Output the version number",
74 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/info.png",
75 priority: 1,
76 },
77 ],
78 subcommands: [
79 {
80 name: ["build:ios", "bi"],
81 hidden: false,
82 description: "Build and sign a standalone IPA for the Apple App Store",
83 priority: 59,
84 args: {
85 isOptional: true,
86 template: "folders",
87 name: "path",
88 },
89 options: [
90 {
91 name: ["-h", "--help"],
92 priority: 1,
93 description: "Output usage information",
94 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png",
95 },
96 {
97 name: ["-c", "--clear-credentials"],
98 description: "Clear all credentials stored on Expo servers",
99 args: {
100 name: "boolean",
101 suggestions: [
102 {
103 name: "true",
104 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
105 },
106 {
107 name: "false",
108 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
109 },
110 ],
111 },
112 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/clear.png",
113 },
114 {
115 name: "--clear-dist-cert",
116 description: "Remove Distribution Certificate stored on Expo servers",
117 args: {
118 name: "boolean",
119 suggestions: [
120 {
121 name: "true",
122 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
123 },
124 {
125 name: "false",
126 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
127 },
128 ],
129 },
130 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/clear.png",
131 },
132 {
133 name: "--clear-push-key",
134 description: "Remove Push Notifications Key stored on Expo servers",
135 args: {
136 name: "boolean",
137 suggestions: [
138 {
139 name: "true",
140 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
141 },
142 {
143 name: "false",
144 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
145 },
146 ],
147 },
148 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/clear.png",
149 },
150 {
151 name: "--clear-push-cert",
152 description:
153 "Remove Push Notifications Certificate stored on Expo servers. Use of Push Notifications Certificates is deprecated",
154 args: {
155 name: "boolean",
156 suggestions: [
157 {
158 name: "true",
159 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
160 },
161 {
162 name: "false",
163 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
164 },
165 ],
166 },
167 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/clear.png",
168 },
169 {
170 name: "--clear-provisioning-profile",
171 description: "Remove Provisioning Profile stored on Expo servers",
172 args: {
173 name: "boolean",
174 suggestions: [
175 {
176 name: "true",
177 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
178 },
179 {
180 name: "false",
181 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
182 },
183 ],
184 },
185 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/clear.png",
186 },
187 {
188 name: ["-r", "--revoke-credentials"],
189 description:
190 "Revoke credentials on developer.apple.com, select appropriate using --clear-* options",
191 args: {
192 name: "boolean",
193 suggestions: [
194 {
195 name: "true",
196 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
197 },
198 {
199 name: "false",
200 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
201 },
202 ],
203 },
204 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/clear.png",
205 },
206 {
207 name: "--apple-id",
208 description:
209 "Apple ID username (please also set the Apple ID password as EXPO_APPLE_PASSWORD environment variable)",
210 args: {
211 name: "login",
212 isOptional: false,
213 },
214 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/apple.png",
215 },
216 {
217 name: ["-t", "--type"],
218 description: "Type of build: [archive|simulator]",
219 args: {
220 name: "archive|simulator",
221 isOptional: false,
222 suggestions: [
223 {
224 name: "archive",
225 },
226 {
227 name: "simulator",
228 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/devices.png",
229 },
230 ],
231 },
232 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png",
233 },
234 {
235 name: "--release-channel",
236 description: "Pull from specified release channel",
237 args: {
238 name: "name",
239 isOptional: false,
240 },
241 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png",
242 },
243 {
244 name: "--no-publish",
245 description: "Disable automatic publishing before building",
246 args: {
247 name: "boolean",
248 suggestions: [
249 {
250 name: "true",
251 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
252 },
253 {
254 name: "false",
255 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
256 },
257 ],
258 },
259 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/skip.png",
260 },
261 {
262 name: "--no-wait",
263 description: "Exit immediately after scheduling build",
264 args: {
265 name: "boolean",
266 suggestions: [
267 {
268 name: "true",
269 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
270 },
271 {
272 name: "false",
273 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
274 },
275 ],
276 },
277 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/skip.png",
278 },
279 {
280 name: "--team-id",
281 description: "Apple Team ID",
282 args: {
283 name: "boolean",
284 suggestions: [
285 {
286 name: "true",
287 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
288 },
289 {
290 name: "false",
291 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
292 },
293 ],
294 },
295 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png",
296 },
297 {
298 name: "--dist-p12-path",
299 description:
300 "Path to your Distribution Certificate P12 (set password as EXPO_IOS_DIST_P12_PASSWORD environment variable)",
301 args: {
302 name: "path",
303 isOptional: false,
304 template: "filepaths",
305 },
306 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/path.png",
307 },
308 {
309 name: "--push-id",
310 description: "Push Key ID (ex: 123AB4C56D)",
311 args: {
312 name: "boolean",
313 suggestions: [
314 {
315 name: "true",
316 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
317 },
318 {
319 name: "false",
320 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
321 },
322 ],
323 },
324 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png",
325 },
326 {
327 name: "--push-p8-path",
328 description: "Path to your Push Key .p8 file",
329 args: {
330 name: "path",
331 isOptional: false,
332 template: "filepaths",
333 },
334 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/path.png",
335 },
336 {
337 name: "--provisioning-profile-path",
338 description: "Path to your Provisioning Profile",
339 args: {
340 name: "path",
341 isOptional: false,
342 template: "filepaths",
343 },
344 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/path.png",
345 },
346 {
347 name: "--public-url",
348 description:
349 "The URL of an externally hosted manifest (for self-hosted apps)",
350 args: {
351 name: "url",
352 isOptional: false,
353 },
354 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png",
355 },
356 {
357 name: "--skip-credentials-check",
358 description: "Skip checking credentials",
359 args: {
360 name: "boolean",
361 suggestions: [
362 {
363 name: "true",
364 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
365 },
366 {
367 name: "false",
368 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
369 },
370 ],
371 },
372 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/skip.png",
373 },
374 {
375 name: "--skip-workflow-check",
376 description:
377 "Skip warning about build service bare workflow limitations",
378 args: {
379 name: "boolean",
380 suggestions: [
381 {
382 name: "true",
383 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
384 },
385 {
386 name: "false",
387 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
388 },
389 ],
390 },
391 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/skip.png",
392 },
393 {
394 name: "--config",
395 description:
396 "Deprecated: Use app.config.js to switch config files instead",
397 args: {
398 name: "file",
399 isOptional: true,
400 template: "filepaths",
401 },
402 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png",
403 priority: 2,
404 },
405 ],
406 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/apple.png",
407 },
408 {
409 name: ["build:android", "ba"],
410 hidden: false,
411 description:
412 "Build and sign a standalone APK or App Bundle for the Google Play Store",
413 priority: 59,
414 args: {
415 isOptional: true,
416 template: "folders",
417 name: "path",
418 },
419 options: [
420 {
421 name: ["-h", "--help"],
422 priority: 1,
423 description: "Output usage information",
424 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png",
425 },
426 {
427 name: ["-c", "--clear-credentials"],
428 description: "Clear stored credentials",
429 args: {
430 name: "boolean",
431 suggestions: [
432 {
433 name: "true",
434 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
435 },
436 {
437 name: "false",
438 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
439 },
440 ],
441 },
442 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/clear.png",
443 },
444 {
445 name: "--release-channel",
446 description: "Pull from specified release channel",
447 args: {
448 name: "name",
449 isOptional: false,
450 },
451 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png",
452 },
453 {
454 name: "--no-publish",
455 description: "Disable automatic publishing before building",
456 args: {
457 name: "boolean",
458 suggestions: [
459 {
460 name: "true",
461 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
462 },
463 {
464 name: "false",
465 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
466 },
467 ],
468 },
469 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/skip.png",
470 },
471 {
472 name: "--no-wait",
473 description: "Exit immediately after triggering build",
474 args: {
475 name: "boolean",
476 suggestions: [
477 {
478 name: "true",
479 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
480 },
481 {
482 name: "false",
483 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
484 },
485 ],
486 },
487 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/skip.png",
488 },
489 {
490 name: "--keystore-path",
491 description: "Path to your Keystore: *.jks",
492 args: {
493 name: "path",
494 isOptional: false,
495 template: "filepaths",
496 },
497 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/key.png",
498 },
499 {
500 name: "--keystore-alias",
501 description: "Keystore Alias",
502 args: {
503 name: "alias",
504 isOptional: false,
505 },
506 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/key.png",
507 },
508 {
509 name: "--generate-keystore",
510 description: "[deprecated] Generate Keystore if one does not exist",
511 args: {
512 name: "boolean",
513 suggestions: [
514 {
515 name: "true",
516 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
517 },
518 {
519 name: "false",
520 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
521 },
522 ],
523 },
524 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/key.png",
525 },
526 {
527 name: "--public-url",
528 description:
529 "The URL of an externally hosted manifest (for self-hosted apps)",
530 args: {
531 name: "url",
532 isOptional: false,
533 },
534 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png",
535 },
536 {
537 name: "--skip-workflow-check",
538 description:
539 "Skip warning about build service bare workflow limitations",
540 args: {
541 name: "boolean",
542 suggestions: [
543 {
544 name: "true",
545 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
546 },
547 {
548 name: "false",
549 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
550 },
551 ],
552 },
553 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/skip.png",
554 },
555 {
556 name: ["-t", "--type"],
557 description: "Type of build: [app-bundle|apk]",
558 args: {
559 name: "boolean",
560 suggestions: [
561 {
562 name: "true",
563 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
564 },
565 {
566 name: "false",
567 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
568 },
569 ],
570 },
571 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png",
572 },
573 {
574 name: "--config",
575 description:
576 "Deprecated: Use app.config.js to switch config files instead",
577 args: {
578 name: "file",
579 isOptional: true,
580 template: "filepaths",
581 },
582 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png",
583 priority: 2,
584 },
585 ],
586 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/android.png",
587 },
588 {
589 name: "build:web",
590 hidden: false,
591 description: "Build the web app for production",
592 priority: 59,
593 args: {
594 isOptional: true,
595 template: "folders",
596 name: "path",
597 },
598 options: [
599 {
600 name: ["-h", "--help"],
601 priority: 1,
602 description: "Output usage information",
603 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png",
604 },
605 {
606 name: ["-c", "--clear"],
607 description: "Clear all cached build files and assets",
608 args: {
609 name: "boolean",
610 suggestions: [
611 {
612 name: "true",
613 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
614 },
615 {
616 name: "false",
617 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
618 },
619 ],
620 },
621 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/clear.png",
622 },
623 {
624 name: "--no-pwa",
625 description:
626 "Prevent webpack from generating the manifest.json and injecting meta into the index.html head",
627 args: {
628 name: "boolean",
629 suggestions: [
630 {
631 name: "true",
632 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
633 },
634 {
635 name: "false",
636 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
637 },
638 ],
639 },
640 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/skip.png",
641 },
642 {
643 name: ["-d", "--dev"],
644 description: "Turns dev flag on before bundling",
645 args: {
646 name: "boolean",
647 suggestions: [
648 {
649 name: "true",
650 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
651 },
652 {
653 name: "false",
654 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
655 },
656 ],
657 },
658 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/dev.png",
659 },
660 {
661 name: "--config",
662 description:
663 "Deprecated: Use app.config.js to switch config files instead",
664 args: {
665 name: "file",
666 isOptional: true,
667 template: "filepaths",
668 },
669 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png",
670 priority: 2,
671 },
672 ],
673 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/webpack.png",
674 },
675 {
676 name: ["build:status", "bs"],
677 hidden: false,
678 description: "Get the status of the latest build for the project",
679 priority: 59,
680 args: {
681 isOptional: true,
682 template: "folders",
683 name: "path",
684 },
685 options: [
686 {
687 name: ["-h", "--help"],
688 priority: 1,
689 description: "Output usage information",
690 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png",
691 },
692 {
693 name: "--public-url",
694 description:
695 "The URL of an externally hosted manifest (for self-hosted apps)",
696 args: {
697 name: "url",
698 isOptional: false,
699 },
700 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png",
701 },
702 {
703 name: "--config",
704 description:
705 "Deprecated: Use app.config.js to switch config files instead",
706 args: {
707 name: "file",
708 isOptional: true,
709 template: "filepaths",
710 },
711 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png",
712 priority: 2,
713 },
714 ],
715 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/info.png",
716 },
717 {
718 name: "bundle-assets",
719 hidden: true,
720 description:
721 "Bundle assets for a detached app. This command should be executed from xcode or gradle",
722 priority: 51,
723 args: {
724 isOptional: true,
725 template: "folders",
726 name: "path",
727 },
728 options: [
729 {
730 name: ["-h", "--help"],
731 priority: 1,
732 description: "Output usage information",
733 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png",
734 },
735 {
736 name: "--dest",
737 description: "Destination directory for assets",
738 args: {
739 name: "dest",
740 isOptional: true,
741 },
742 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png",
743 },
744 {
745 name: "--platform",
746 description: "Detached project platform",
747 args: {
748 name: "platform",
749 isOptional: false,
750 suggestions: [
751 {
752 name: "android",
753 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/android.png",
754 },
755 {
756 name: "ios",
757 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/apple.png",
758 },
759 ],
760 },
761 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/devices.png",
762 },
763 {
764 name: "--config",
765 description:
766 "Deprecated: Use app.config.js to switch config files instead",
767 args: {
768 name: "file",
769 isOptional: true,
770 template: "filepaths",
771 },
772 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png",
773 priority: 2,
774 },
775 ],
776 },
777 {
778 name: "client:ios",
779 hidden: false,
780 description:
781 "Experimental: build a custom version of Expo Go for iOS using your own Apple credentials",
782 priority: 52,
783 args: {
784 isOptional: true,
785 template: "folders",
786 name: "path",
787 },
788 options: [
789 {
790 name: ["-h", "--help"],
791 priority: 1,
792 description: "Output usage information",
793 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png",
794 },
795 {
796 name: "--apple-id",
797 description:
798 "Apple ID username (please also set the Apple ID password as EXPO_APPLE_PASSWORD environment variable)",
799 args: {
800 name: "login",
801 isOptional: false,
802 },
803 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/apple.png",
804 },
805 {
806 name: "--config",
807 description:
808 "Deprecated: Use app.config.js to switch config files instead",
809 args: {
810 name: "file",
811 isOptional: true,
812 template: "filepaths",
813 },
814 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png",
815 priority: 2,
816 },
817 ],
818 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/download.png",
819 },
820 {
821 name: "client:install:ios",
822 hidden: false,
823 description: "Install Expo Go for iOS on the simulator",
824 priority: 62,
825 options: [
826 {
827 name: ["-h", "--help"],
828 priority: 1,
829 description: "Output usage information",
830 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png",
831 },
832 {
833 name: "--latest",
834 description:
835 "Install the latest version of Expo Go, ignoring the current project version",
836 args: {
837 name: "boolean",
838 suggestions: [
839 {
840 name: "true",
841 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
842 },
843 {
844 name: "false",
845 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
846 },
847 ],
848 },
849 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/latest.png",
850 },
851 ],
852 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/apple.png",
853 },
854 {
855 name: "client:install:android",
856 hidden: false,
857 description:
858 "Install Expo Go for Android on a connected device or emulator",
859 priority: 62,
860 options: [
861 {
862 name: ["-h", "--help"],
863 priority: 1,
864 description: "Output usage information",
865 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png",
866 },
867 {
868 name: ["-d", "--device"],
869 description: "Device name to install the client on",
870 args: {
871 name: "device",
872 isOptional: true,
873 },
874 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/devices.png",
875 },
876 {
877 name: "--latest",
878 description:
879 "Install the latest version of Expo Go, ignore the current project version",
880 args: {
881 name: "boolean",
882 suggestions: [
883 {
884 name: "true",
885 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
886 },
887 {
888 name: "false",
889 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
890 },
891 ],
892 },
893 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/latest.png",
894 },
895 ],
896 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/android.png",
897 },
898 {
899 name: "config",
900 hidden: false,
901 description: "Show the project config",
902 priority: 61,
903 args: {
904 isOptional: true,
905 template: "folders",
906 name: "path",
907 },
908 options: [
909 {
910 name: ["-h", "--help"],
911 priority: 1,
912 description: "Output usage information",
913 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png",
914 },
915 {
916 name: ["-t", "--type"],
917 description: "Type of config to show",
918 args: {
919 name: "public|prebuild|introspect",
920 isOptional: false,
921 suggestions: [
922 {
923 name: "public",
924 },
925 {
926 name: "prebuild",
927 },
928 {
929 name: "introspect",
930 },
931 ],
932 },
933 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png",
934 },
935 {
936 name: "--full",
937 description: "Include all project config data",
938 args: {
939 name: "boolean",
940 suggestions: [
941 {
942 name: "true",
943 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
944 },
945 {
946 name: "false",
947 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
948 },
949 ],
950 },
951 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png",
952 },
953 {
954 name: "--config",
955 description:
956 "Deprecated: Use app.config.js to switch config files instead",
957 args: {
958 name: "file",
959 isOptional: true,
960 template: "filepaths",
961 },
962 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png",
963 priority: 2,
964 },
965 ],
966 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/config.png",
967 },
968 {
969 name: "credentials:manager",
970 hidden: false,
971 description: "Manage your credentials",
972 priority: 58,
973 args: {
974 isOptional: true,
975 template: "folders",
976 name: "path",
977 },
978 options: [
979 {
980 name: ["-h", "--help"],
981 priority: 1,
982 description: "Output usage information",
983 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png",
984 },
985 {
986 name: ["-p", "--platform"],
987 description: "Platform: [android|ios]",
988 args: {
989 name: "platform",
990 isOptional: false,
991 suggestions: [
992 {
993 name: "android",
994 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/android.png",
995 },
996 {
997 name: "ios",
998 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/apple.png",
999 },
1000 ],
1001 },
1002 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/devices.png",
1003 },
1004 {
1005 name: "--config",
1006 description:
1007 "Deprecated: Use app.config.js to switch config files instead",
1008 args: {
1009 name: "file",
1010 isOptional: true,
1011 template: "filepaths",
1012 },
1013 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png",
1014 priority: 2,
1015 },
1016 ],
1017 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/list.png",
1018 },
1019 {
1020 name: "customize:web",
1021 hidden: false,
1022 description: "Eject the default web files for customization",
1023 priority: 53,
1024 args: {
1025 isOptional: true,
1026 template: "folders",
1027 name: "path",
1028 },
1029 options: [
1030 {
1031 name: ["-h", "--help"],
1032 priority: 1,
1033 description: "Output usage information",
1034 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png",
1035 },
1036 {
1037 name: ["-f", "--force"],
1038 description: "Allows replacing existing files",
1039 args: {
1040 name: "boolean",
1041 suggestions: [
1042 {
1043 name: "true",
1044 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
1045 },
1046 {
1047 name: "false",
1048 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
1049 },
1050 ],
1051 },
1052 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/force.png",
1053 },
1054 {
1055 name: "--offline",
1056 description: "Allows this command to run while offline",
1057 args: {
1058 name: "boolean",
1059 suggestions: [
1060 {
1061 name: "true",
1062 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
1063 },
1064 {
1065 name: "false",
1066 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
1067 },
1068 ],
1069 },
1070 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/offline.png",
1071 },
1072 {
1073 name: "--config",
1074 description:
1075 "Deprecated: Use app.config.js to switch config files instead",
1076 args: {
1077 name: "file",
1078 isOptional: true,
1079 template: "filepaths",
1080 },
1081 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png",
1082 priority: 2,
1083 },
1084 ],
1085 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/customize.png",
1086 },
1087 {
1088 name: "diagnostics",
1089 hidden: false,
1090 description: "Log environment info to the console",
1091 priority: 61,
1092 args: {
1093 isOptional: true,
1094 template: "folders",
1095 name: "path",
1096 },
1097 options: [
1098 {
1099 name: ["-h", "--help"],
1100 priority: 1,
1101 description: "Output usage information",
1102 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png",
1103 },
1104 {
1105 name: "--config",
1106 description:
1107 "Deprecated: Use app.config.js to switch config files instead",
1108 args: {
1109 name: "file",
1110 isOptional: true,
1111 template: "filepaths",
1112 },
1113 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png",
1114 priority: 2,
1115 },
1116 ],
1117 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/diagnostics.png",
1118 },
1119 {
1120 name: "doctor",
1121 hidden: false,
1122 description: "Diagnose issues with the project",
1123 priority: 61,
1124 args: {
1125 isOptional: true,
1126 template: "folders",
1127 name: "path",
1128 },
1129 options: [
1130 {
1131 name: ["-h", "--help"],
1132 priority: 1,
1133 description: "Output usage information",
1134 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png",
1135 },
1136 {
1137 name: "--config",
1138 description:
1139 "Deprecated: Use app.config.js to switch config files instead",
1140 args: {
1141 name: "file",
1142 isOptional: true,
1143 template: "filepaths",
1144 },
1145 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png",
1146 priority: 2,
1147 },
1148 ],
1149 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/doctor.png",
1150 },
1151 {
1152 name: "eject",
1153 hidden: false,
1154 description:
1155 "Create native iOS and Android project files. Learn more: https://docs.expo.dev/workflow/customizing/",
1156 priority: 53,
1157 args: {
1158 isOptional: true,
1159 template: "folders",
1160 name: "path",
1161 },
1162 options: [
1163 {
1164 name: ["-h", "--help"],
1165 priority: 1,
1166 description: "Output usage information",
1167 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png",
1168 },
1169 {
1170 name: "--no-install",
1171 description: "Skip installing npm packages and CocoaPods",
1172 args: {
1173 name: "boolean",
1174 suggestions: [
1175 {
1176 name: "true",
1177 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
1178 },
1179 {
1180 name: "false",
1181 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
1182 },
1183 ],
1184 },
1185 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/skip.png",
1186 },
1187 {
1188 name: "--npm",
1189 description:
1190 "Use npm to install dependencies. (default when Yarn is not installed)",
1191 args: {
1192 name: "boolean",
1193 suggestions: [
1194 {
1195 name: "true",
1196 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
1197 },
1198 {
1199 name: "false",
1200 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
1201 },
1202 ],
1203 },
1204 icon: "fig://icon?type=npm",
1205 },
1206 {
1207 name: ["-p", "--platform"],
1208 description: "Platforms to sync: ios, android, all. Default: all",
1209 args: {
1210 name: "platform",
1211 isOptional: false,
1212 suggestions: [
1213 {
1214 name: "all",
1215 },
1216 {
1217 name: "android",
1218 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/android.png",
1219 },
1220 {
1221 name: "ios",
1222 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/apple.png",
1223 },
1224 ],
1225 },
1226 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/devices.png",
1227 },
1228 {
1229 name: "--config",
1230 description:
1231 "Deprecated: Use app.config.js to switch config files instead",
1232 args: {
1233 name: "file",
1234 isOptional: true,
1235 template: "filepaths",
1236 },
1237 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png",
1238 priority: 2,
1239 },
1240 ],
1241 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/eject.png",
1242 },
1243 {
1244 name: "export",
1245 hidden: false,
1246 description:
1247 "Export the static files of the app for hosting it on a web server",
1248 priority: 64,
1249 args: {
1250 isOptional: true,
1251 template: "folders",
1252 name: "path",
1253 },
1254 options: [
1255 {
1256 name: ["-h", "--help"],
1257 priority: 1,
1258 description: "Output usage information",
1259 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png",
1260 },
1261 {
1262 name: "--platform",
1263 description: "Platforms: android, ios, all",
1264 args: {
1265 name: "platform",
1266 isOptional: false,
1267 suggestions: [
1268 {
1269 name: "all",
1270 },
1271 {
1272 name: "android",
1273 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/android.png",
1274 },
1275 {
1276 name: "ios",
1277 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/apple.png",
1278 },
1279 ],
1280 },
1281 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/devices.png",
1282 },
1283 {
1284 name: ["-p", "--public-url"],
1285 description:
1286 "The public url that will host the static files (required)",
1287 args: {
1288 name: "url",
1289 isOptional: false,
1290 },
1291 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png",
1292 },
1293 {
1294 name: ["-c", "--clear"],
1295 description: "Clear the Metro bundler cache",
1296 args: {
1297 name: "boolean",
1298 suggestions: [
1299 {
1300 name: "true",
1301 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
1302 },
1303 {
1304 name: "false",
1305 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
1306 },
1307 ],
1308 },
1309 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/clear.png",
1310 },
1311 {
1312 name: "--output-dir",
1313 description: "The directory to export the static files to",
1314 args: {
1315 name: "dir",
1316 isOptional: false,
1317 template: "folders",
1318 },
1319 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/path.png",
1320 },
1321 {
1322 name: ["-a", "--asset-url"],
1323 description:
1324 "The absolute or relative url that will host the asset files",
1325 args: {
1326 name: "url",
1327 isOptional: false,
1328 },
1329 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png",
1330 },
1331 {
1332 name: ["-d", "--dump-assetmap"],
1333 description: "Dump the asset map for further processing",
1334 args: {
1335 name: "boolean",
1336 suggestions: [
1337 {
1338 name: "true",
1339 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
1340 },
1341 {
1342 name: "false",
1343 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
1344 },
1345 ],
1346 },
1347 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/export.png",
1348 },
1349 {
1350 name: "--dev",
1351 description:
1352 "Configure static files for developing locally using a non-https server",
1353 args: {
1354 name: "boolean",
1355 suggestions: [
1356 {
1357 name: "true",
1358 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
1359 },
1360 {
1361 name: "false",
1362 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
1363 },
1364 ],
1365 },
1366 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/dev.png",
1367 },
1368 {
1369 name: ["-s", "--dump-sourcemap"],
1370 description: "Dump the source map for debugging the JS bundle",
1371 args: {
1372 name: "boolean",
1373 suggestions: [
1374 {
1375 name: "true",
1376 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
1377 },
1378 {
1379 name: "false",
1380 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
1381 },
1382 ],
1383 },
1384 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/export.png",
1385 },
1386 {
1387 name: ["-q", "--quiet"],
1388 description: "Suppress verbose output",
1389 args: {
1390 name: "boolean",
1391 suggestions: [
1392 {
1393 name: "true",
1394 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
1395 },
1396 {
1397 name: "false",
1398 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
1399 },
1400 ],
1401 },
1402 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/quiet.png",
1403 },
1404 {
1405 name: ["-t", "--target"],
1406 description: "Target environment for which this export is intended",
1407 args: {
1408 name: "managed|bare",
1409 isOptional: false,
1410 suggestions: [
1411 {
1412 name: "managed",
1413 },
1414 {
1415 name: "bare",
1416 },
1417 ],
1418 },
1419 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png",
1420 priority: 2,
1421 },
1422 {
1423 name: "--merge-src-dir",
1424 description: "A repeatable source dir to merge in",
1425 args: {
1426 name: "dir",
1427 isOptional: false,
1428 template: "folders",
1429 },
1430 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/path.png",
1431 },
1432 {
1433 name: "--merge-src-url",
1434 description: "A repeatable source tar.gz file URL to merge in",
1435 args: {
1436 name: "url",
1437 isOptional: false,
1438 },
1439 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png",
1440 },
1441 {
1442 name: "--max-workers",
1443 description: "Maximum number of tasks to allow Metro to spawn",
1444 args: {
1445 name: "Number of workers",
1446 isOptional: false,
1447 generators: _gen[`max-workers`],
1448 },
1449 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/number.png",
1450 },
1451 {
1452 name: "--experimental-bundle",
1453 description: "Export bundles for use with EAS updates",
1454 args: {
1455 name: "boolean",
1456 suggestions: [
1457 {
1458 name: "true",
1459 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
1460 },
1461 {
1462 name: "false",
1463 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
1464 },
1465 ],
1466 },
1467 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png",
1468 },
1469 {
1470 name: "--config",
1471 description:
1472 "Deprecated: Use app.config.js to switch config files instead",
1473 args: {
1474 name: "file",
1475 isOptional: true,
1476 template: "filepaths",
1477 },
1478 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png",
1479 priority: 2,
1480 },
1481 ],
1482 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/export.png",
1483 },
1484 {
1485 name: "fetch:ios:certs",
1486 hidden: false,
1487 description:
1488 "Download the project's iOS standalone app signing credentials",
1489 priority: 58,
1490 args: {
1491 isOptional: true,
1492 template: "folders",
1493 name: "path",
1494 },
1495 options: [
1496 {
1497 name: ["-h", "--help"],
1498 priority: 1,
1499 description: "Output usage information",
1500 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png",
1501 },
1502 {
1503 name: "--config",
1504 description:
1505 "Deprecated: Use app.config.js to switch config files instead",
1506 args: {
1507 name: "file",
1508 isOptional: true,
1509 template: "filepaths",
1510 },
1511 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png",
1512 priority: 2,
1513 },
1514 ],
1515 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/apple.png",
1516 },
1517 {
1518 name: "fetch:android:keystore",
1519 hidden: false,
1520 description: "Download the project's Android keystore",
1521 priority: 58,
1522 args: {
1523 isOptional: true,
1524 template: "folders",
1525 name: "path",
1526 },
1527 options: [
1528 {
1529 name: ["-h", "--help"],
1530 priority: 1,
1531 description: "Output usage information",
1532 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png",
1533 },
1534 {
1535 name: "--config",
1536 description:
1537 "Deprecated: Use app.config.js to switch config files instead",
1538 args: {
1539 name: "file",
1540 isOptional: true,
1541 template: "filepaths",
1542 },
1543 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png",
1544 priority: 2,
1545 },
1546 ],
1547 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/android.png",
1548 },
1549 {
1550 name: "fetch:android:hashes",
1551 hidden: false,
1552 description: "Compute and log the project's Android key hashes",
1553 priority: 58,
1554 args: {
1555 isOptional: true,
1556 template: "folders",
1557 name: "path",
1558 },
1559 options: [
1560 {
1561 name: ["-h", "--help"],
1562 priority: 1,
1563 description: "Output usage information",
1564 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png",
1565 },
1566 {
1567 name: "--config",
1568 description:
1569 "Deprecated: Use app.config.js to switch config files instead",
1570 args: {
1571 name: "file",
1572 isOptional: true,
1573 template: "filepaths",
1574 },
1575 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png",
1576 priority: 2,
1577 },
1578 ],
1579 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/android.png",
1580 },
1581 {
1582 name: "fetch:android:upload-cert",
1583 hidden: false,
1584 description: "Download the project's Android keystore",
1585 priority: 58,
1586 args: {
1587 isOptional: true,
1588 template: "folders",
1589 name: "path",
1590 },
1591 options: [
1592 {
1593 name: ["-h", "--help"],
1594 priority: 1,
1595 description: "Output usage information",
1596 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png",
1597 },
1598 {
1599 name: "--config",
1600 description:
1601 "Deprecated: Use app.config.js to switch config files instead",
1602 args: {
1603 name: "file",
1604 isOptional: true,
1605 template: "filepaths",
1606 },
1607 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png",
1608 priority: 2,
1609 },
1610 ],
1611 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/android.png",
1612 },
1613 {
1614 name: ["init", "i"],
1615 hidden: false,
1616 description: "Create a new Expo project",
1617 priority: 64,
1618 args: {
1619 isOptional: true,
1620 name: "name",
1621 },
1622 options: [
1623 {
1624 name: ["-h", "--help"],
1625 priority: 1,
1626 description: "Output usage information",
1627 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png",
1628 },
1629 {
1630 name: ["-t", "--template"],
1631 description:
1632 'Specify which template to use. Valid options are "blank", "tabs", "bare-minimum" or a package on npm (e.g. "expo-template-bare-minimum") that includes an Expo project template',
1633 args: {
1634 name: "name",
1635 isOptional: true,
1636 },
1637 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/export.png",
1638 },
1639 {
1640 name: "--npm",
1641 description:
1642 "Use npm to install dependencies. (default when Yarn is not installed)",
1643 args: {
1644 name: "boolean",
1645 suggestions: [
1646 {
1647 name: "true",
1648 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
1649 },
1650 {
1651 name: "false",
1652 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
1653 },
1654 ],
1655 },
1656 icon: "fig://icon?type=npm",
1657 },
1658 {
1659 name: "--yarn",
1660 description:
1661 "Use Yarn to install dependencies. (default when Yarn is installed)",
1662 args: {
1663 name: "boolean",
1664 suggestions: [
1665 {
1666 name: "true",
1667 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
1668 },
1669 {
1670 name: "false",
1671 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
1672 },
1673 ],
1674 },
1675 icon: "fig://icon?type=yarn",
1676 },
1677 {
1678 name: "--no-install",
1679 description: "Skip installing npm packages or CocoaPods",
1680 args: {
1681 name: "boolean",
1682 suggestions: [
1683 {
1684 name: "true",
1685 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
1686 },
1687 {
1688 name: "false",
1689 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
1690 },
1691 ],
1692 },
1693 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/skip.png",
1694 },
1695 {
1696 name: "--name",
1697 description: "The name of your app visible on the home screen",
1698 args: {
1699 name: "name",
1700 isOptional: true,
1701 },
1702 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png",
1703 },
1704 {
1705 name: "--yes",
1706 description:
1707 'Use default options. Same as "expo init . --template blank',
1708 args: {
1709 name: "boolean",
1710 suggestions: [
1711 {
1712 name: "true",
1713 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
1714 },
1715 {
1716 name: "false",
1717 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
1718 },
1719 ],
1720 },
1721 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
1722 },
1723 ],
1724 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/init.png",
1725 },
1726 {
1727 name: ["install", "add"],
1728 hidden: false,
1729 description: "Install a unimodule or other package to a project",
1730 priority: 64,
1731 args: {
1732 isOptional: true,
1733 isVariadic: true,
1734 name: "packages",
1735 debounce: true,
1736 generators: _gen.npm,
1737 },
1738 options: [
1739 {
1740 name: ["-h", "--help"],
1741 priority: 1,
1742 description: "Output usage information",
1743 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png",
1744 },
1745 {
1746 name: "--npm",
1747 description:
1748 "Use npm to install dependencies. (default when package-lock.json exists)",
1749 args: {
1750 name: "boolean",
1751 suggestions: [
1752 {
1753 name: "true",
1754 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
1755 },
1756 {
1757 name: "false",
1758 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
1759 },
1760 ],
1761 },
1762 icon: "fig://icon?type=npm",
1763 },
1764 {
1765 name: "--yarn",
1766 description:
1767 "Use Yarn to install dependencies. (default when yarn.lock exists)",
1768 args: {
1769 name: "boolean",
1770 suggestions: [
1771 {
1772 name: "true",
1773 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
1774 },
1775 {
1776 name: "false",
1777 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
1778 },
1779 ],
1780 },
1781 icon: "fig://icon?type=yarn",
1782 },
1783 ],
1784 icon: "fig://icon?type=npm",
1785 },
1786 {
1787 name: ["login", "signin"],
1788 hidden: false,
1789 description: "Login to an Expo account",
1790 priority: 63,
1791 options: [
1792 {
1793 name: ["-h", "--help"],
1794 priority: 1,
1795 description: "Output usage information",
1796 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png",
1797 },
1798 {
1799 name: ["-u", "--username"],
1800 description: "Username",
1801 args: {
1802 name: "string",
1803 isOptional: true,
1804 },
1805 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png",
1806 },
1807 {
1808 name: ["-p", "--password"],
1809 description: "Password",
1810 args: {
1811 name: "string",
1812 isOptional: true,
1813 },
1814 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png",
1815 },
1816 {
1817 name: "--otp",
1818 description: "One-time password from your 2FA device",
1819 args: {
1820 name: "string",
1821 isOptional: true,
1822 },
1823 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png",
1824 },
1825 ],
1826 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/login.png",
1827 },
1828 {
1829 name: "logout",
1830 hidden: false,
1831 description: "Logout of an Expo account",
1832 priority: 63,
1833 options: [
1834 {
1835 name: ["-h", "--help"],
1836 priority: 1,
1837 description: "Output usage information",
1838 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png",
1839 },
1840 ],
1841 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/logout.png",
1842 },
1843 {
1844 name: "prebuild",
1845 hidden: false,
1846 description:
1847 "Experimental: Create native iOS and Android project files before building natively. Learn more: https://docs.expo.dev/workflow/customizing/",
1848 priority: 53,
1849 args: {
1850 isOptional: true,
1851 template: "folders",
1852 name: "path",
1853 },
1854 options: [
1855 {
1856 name: ["-h", "--help"],
1857 priority: 1,
1858 description: "Output usage information",
1859 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png",
1860 },
1861 {
1862 name: "--no-install",
1863 description: "Skip installing npm packages and CocoaPods",
1864 args: {
1865 name: "boolean",
1866 suggestions: [
1867 {
1868 name: "true",
1869 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
1870 },
1871 {
1872 name: "false",
1873 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
1874 },
1875 ],
1876 },
1877 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/skip.png",
1878 },
1879 {
1880 name: "--clean",
1881 description:
1882 "Delete the native folders and regenerate them before applying changes",
1883 args: {
1884 name: "boolean",
1885 suggestions: [
1886 {
1887 name: "true",
1888 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
1889 },
1890 {
1891 name: "false",
1892 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
1893 },
1894 ],
1895 },
1896 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/clear.png",
1897 },
1898 {
1899 name: "--npm",
1900 description:
1901 "Use npm to install dependencies. (default when Yarn is not installed)",
1902 args: {
1903 name: "boolean",
1904 suggestions: [
1905 {
1906 name: "true",
1907 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
1908 },
1909 {
1910 name: "false",
1911 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
1912 },
1913 ],
1914 },
1915 icon: "fig://icon?type=npm",
1916 },
1917 {
1918 name: "--template",
1919 description:
1920 "Project template to clone from. File path pointing to a local tar file or a github repo",
1921 args: {
1922 name: "template",
1923 isOptional: false,
1924 },
1925 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/export.png",
1926 },
1927 {
1928 name: ["-p", "--platform"],
1929 description: "Platforms to sync: ios, android, all. Default: all",
1930 args: {
1931 name: "platform",
1932 isOptional: false,
1933 suggestions: [
1934 {
1935 name: "all",
1936 },
1937 {
1938 name: "android",
1939 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/android.png",
1940 },
1941 {
1942 name: "ios",
1943 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/apple.png",
1944 },
1945 ],
1946 },
1947 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/devices.png",
1948 },
1949 {
1950 name: "--skip-dependency-update",
1951 description:
1952 "Preserves versions of listed packages in package.json (comma separated list)",
1953 args: {
1954 name: "dependencies",
1955 isOptional: false,
1956 },
1957 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/skip.png",
1958 },
1959 {
1960 name: "--config",
1961 description:
1962 "Deprecated: Use app.config.js to switch config files instead",
1963 args: {
1964 name: "file",
1965 isOptional: true,
1966 template: "filepaths",
1967 },
1968 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png",
1969 priority: 2,
1970 },
1971 ],
1972 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/prebuild.png",
1973 },
1974 {
1975 name: "prepare-detached-build",
1976 hidden: true,
1977 description: "Prepare a detached project for building",
1978 priority: 51,
1979 args: {
1980 isOptional: true,
1981 template: "folders",
1982 name: "path",
1983 },
1984 options: [
1985 {
1986 name: ["-h", "--help"],
1987 priority: 1,
1988 description: "Output usage information",
1989 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png",
1990 },
1991 {
1992 name: "--platform",
1993 description: "Detached project platform",
1994 args: {
1995 name: "platform",
1996 isOptional: false,
1997 suggestions: [
1998 {
1999 name: "android",
2000 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/android.png",
2001 },
2002 {
2003 name: "ios",
2004 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/apple.png",
2005 },
2006 ],
2007 },
2008 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/devices.png",
2009 },
2010 {
2011 name: "--skipXcodeConfig",
2012 description: "[iOS only] if true, do not configure Xcode project",
2013 args: {
2014 name: "bool",
2015 isOptional: true,
2016 },
2017 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png",
2018 },
2019 {
2020 name: "--config",
2021 description:
2022 "Deprecated: Use app.config.js to switch config files instead",
2023 args: {
2024 name: "file",
2025 isOptional: true,
2026 template: "filepaths",
2027 },
2028 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png",
2029 priority: 2,
2030 },
2031 ],
2032 },
2033 {
2034 name: ["publish", "p"],
2035 hidden: false,
2036 description: "Deploy a project to Expo hosting",
2037 priority: 64,
2038 args: {
2039 isOptional: true,
2040 template: "folders",
2041 name: "path",
2042 },
2043 options: [
2044 {
2045 name: ["-h", "--help"],
2046 priority: 1,
2047 description: "Output usage information",
2048 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png",
2049 },
2050 {
2051 name: ["-q", "--quiet"],
2052 description: "Suppress verbose output from the Metro bundler",
2053 args: {
2054 name: "boolean",
2055 suggestions: [
2056 {
2057 name: "true",
2058 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
2059 },
2060 {
2061 name: "false",
2062 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
2063 },
2064 ],
2065 },
2066 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/quiet.png",
2067 },
2068 {
2069 name: ["-s", "--send-to"],
2070 description: "A phone number or email address to send a link to",
2071 args: {
2072 name: "dest",
2073 isOptional: true,
2074 },
2075 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/send.png",
2076 },
2077 {
2078 name: ["-c", "--clear"],
2079 description: "Clear the Metro bundler cache",
2080 args: {
2081 name: "boolean",
2082 suggestions: [
2083 {
2084 name: "true",
2085 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
2086 },
2087 {
2088 name: "false",
2089 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
2090 },
2091 ],
2092 },
2093 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/clear.png",
2094 },
2095 {
2096 name: ["-t", "--target"],
2097 description:
2098 "Target environment for which this publish is intended. Options are `managed` or `bare`",
2099 args: {
2100 name: "managed|bare",
2101 isOptional: false,
2102 suggestions: [
2103 {
2104 name: "managed",
2105 },
2106 {
2107 name: "bare",
2108 },
2109 ],
2110 },
2111 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png",
2112 priority: 2,
2113 },
2114 {
2115 name: "--max-workers",
2116 description: "Maximum number of tasks to allow Metro to spawn",
2117 args: {
2118 name: "Number of workers",
2119 isOptional: false,
2120 generators: _gen[`max-workers`],
2121 },
2122 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/number.png",
2123 },
2124 {
2125 name: "--release-channel",
2126 description:
2127 "The release channel to publish to. Default is 'default'",
2128 args: {
2129 name: "name",
2130 isOptional: false,
2131 },
2132 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png",
2133 },
2134 {
2135 name: "--config",
2136 description:
2137 "Deprecated: Use app.config.js to switch config files instead",
2138 args: {
2139 name: "file",
2140 isOptional: true,
2141 template: "filepaths",
2142 },
2143 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png",
2144 priority: 2,
2145 },
2146 ],
2147 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/publish.png",
2148 },
2149 {
2150 name: ["publish:set", "ps"],
2151 hidden: false,
2152 description: "Specify the channel to serve a published release",
2153 priority: 60,
2154 args: {
2155 isOptional: true,
2156 template: "folders",
2157 name: "path",
2158 },
2159 options: [
2160 {
2161 name: ["-h", "--help"],
2162 priority: 1,
2163 description: "Output usage information",
2164 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png",
2165 },
2166 {
2167 name: ["-c", "--release-channel"],
2168 description: "The channel to set the published release. (Required)",
2169 args: {
2170 name: "name",
2171 isOptional: false,
2172 },
2173 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png",
2174 },
2175 {
2176 name: ["-p", "--publish-id"],
2177 description:
2178 "The id of the published release to serve from the channel. (Required)",
2179 args: {
2180 name: "boolean",
2181 suggestions: [
2182 {
2183 name: "true",
2184 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
2185 },
2186 {
2187 name: "false",
2188 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
2189 },
2190 ],
2191 },
2192 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png",
2193 },
2194 {
2195 name: "--config",
2196 description:
2197 "Deprecated: Use app.config.js to switch config files instead",
2198 args: {
2199 name: "file",
2200 isOptional: true,
2201 template: "filepaths",
2202 },
2203 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png",
2204 priority: 2,
2205 },
2206 ],
2207 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/publish.png",
2208 },
2209 {
2210 name: ["publish:rollback", "pr"],
2211 hidden: false,
2212 description: "Undo an update to a channel",
2213 priority: 60,
2214 args: {
2215 isOptional: true,
2216 template: "folders",
2217 name: "path",
2218 },
2219 options: [
2220 {
2221 name: ["-h", "--help"],
2222 priority: 1,
2223 description: "Output usage information",
2224 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png",
2225 },
2226 {
2227 name: "--channel-id",
2228 description: "This flag is deprecated",
2229 args: {
2230 name: "boolean",
2231 suggestions: [
2232 {
2233 name: "true",
2234 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
2235 },
2236 {
2237 name: "false",
2238 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
2239 },
2240 ],
2241 },
2242 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png",
2243 },
2244 {
2245 name: ["-c", "--release-channel"],
2246 description: "The channel to rollback from. (Required)",
2247 args: {
2248 name: "name",
2249 isOptional: false,
2250 },
2251 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png",
2252 },
2253 {
2254 name: ["-s", "--sdk-version"],
2255 description: "The sdk version to rollback. (Required)",
2256 args: {
2257 name: "version",
2258 isOptional: false,
2259 },
2260 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/expo.png",
2261 },
2262 {
2263 name: ["-p", "--platform"],
2264 description: "The platform to rollback",
2265 args: {
2266 name: "platform",
2267 isOptional: false,
2268 suggestions: [
2269 {
2270 name: "android",
2271 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/android.png",
2272 },
2273 {
2274 name: "ios",
2275 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/apple.png",
2276 },
2277 ],
2278 },
2279 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/devices.png",
2280 },
2281 {
2282 name: "--config",
2283 description:
2284 "Deprecated: Use app.config.js to switch config files instead",
2285 args: {
2286 name: "file",
2287 isOptional: true,
2288 template: "filepaths",
2289 },
2290 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png",
2291 priority: 2,
2292 },
2293 ],
2294 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/publish-rollback.png",
2295 },
2296 {
2297 name: ["publish:history", "ph"],
2298 hidden: false,
2299 description: "Log the project's releases",
2300 priority: 60,
2301 args: {
2302 isOptional: true,
2303 template: "folders",
2304 name: "path",
2305 },
2306 options: [
2307 {
2308 name: ["-h", "--help"],
2309 priority: 1,
2310 description: "Output usage information",
2311 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png",
2312 },
2313 {
2314 name: ["-c", "--release-channel"],
2315 description:
2316 "Filter by release channel. If this flag is not included, the most recent publications will be shown",
2317 args: {
2318 name: "name",
2319 isOptional: false,
2320 },
2321 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png",
2322 },
2323 {
2324 name: "--count",
2325 description: "Number of logs to view, maximum 100, default 5",
2326 args: {
2327 name: "boolean",
2328 suggestions: [
2329 {
2330 name: "true",
2331 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
2332 },
2333 {
2334 name: "false",
2335 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
2336 },
2337 ],
2338 },
2339 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/number.png",
2340 },
2341 {
2342 name: ["-p", "--platform"],
2343 description:
2344 "Filter by platform, android or ios. Defaults to both platforms",
2345 args: {
2346 name: "platform",
2347 isOptional: false,
2348 suggestions: [
2349 {
2350 name: "android",
2351 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/android.png",
2352 },
2353 {
2354 name: "ios",
2355 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/apple.png",
2356 },
2357 ],
2358 },
2359 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/devices.png",
2360 },
2361 {
2362 name: ["-s", "--sdk-version"],
2363 description: "Filter by SDK version e.g. 35.0.0",
2364 args: {
2365 name: "version",
2366 isOptional: false,
2367 },
2368 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/expo.png",
2369 },
2370 {
2371 name: ["-r", "--raw"],
2372 description: "Produce some raw output",
2373 args: {
2374 name: "boolean",
2375 suggestions: [
2376 {
2377 name: "true",
2378 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
2379 },
2380 {
2381 name: "false",
2382 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
2383 },
2384 ],
2385 },
2386 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png",
2387 },
2388 {
2389 name: "--config",
2390 description:
2391 "Deprecated: Use app.config.js to switch config files instead",
2392 args: {
2393 name: "file",
2394 isOptional: true,
2395 template: "filepaths",
2396 },
2397 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png",
2398 priority: 2,
2399 },
2400 ],
2401 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/publish.png",
2402 },
2403 {
2404 name: ["publish:details", "pd"],
2405 hidden: false,
2406 description: "Log details of a published release",
2407 priority: 60,
2408 args: {
2409 isOptional: true,
2410 template: "folders",
2411 name: "path",
2412 },
2413 options: [
2414 {
2415 name: ["-h", "--help"],
2416 priority: 1,
2417 description: "Output usage information",
2418 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png",
2419 },
2420 {
2421 name: "--publish-id",
2422 description: "Publication id. (Required)",
2423 args: {
2424 name: "boolean",
2425 suggestions: [
2426 {
2427 name: "true",
2428 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
2429 },
2430 {
2431 name: "false",
2432 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
2433 },
2434 ],
2435 },
2436 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png",
2437 },
2438 {
2439 name: ["-r", "--raw"],
2440 description: "Produce some raw output",
2441 args: {
2442 name: "boolean",
2443 suggestions: [
2444 {
2445 name: "true",
2446 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
2447 },
2448 {
2449 name: "false",
2450 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
2451 },
2452 ],
2453 },
2454 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png",
2455 },
2456 {
2457 name: "--config",
2458 description:
2459 "Deprecated: Use app.config.js to switch config files instead",
2460 args: {
2461 name: "file",
2462 isOptional: true,
2463 template: "filepaths",
2464 },
2465 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png",
2466 priority: 2,
2467 },
2468 ],
2469 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/publish.png",
2470 },
2471 {
2472 name: "push:android:upload",
2473 hidden: false,
2474 description: "Upload an FCM key for Android push notifications",
2475 priority: 57,
2476 args: {
2477 isOptional: true,
2478 template: "folders",
2479 name: "path",
2480 },
2481 options: [
2482 {
2483 name: ["-h", "--help"],
2484 priority: 1,
2485 description: "Output usage information",
2486 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png",
2487 },
2488 {
2489 name: "--api-key",
2490 description: "Server API key for FCM",
2491 args: {
2492 name: "boolean",
2493 suggestions: [
2494 {
2495 name: "true",
2496 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
2497 },
2498 {
2499 name: "false",
2500 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
2501 },
2502 ],
2503 },
2504 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/key.png",
2505 },
2506 {
2507 name: "--config",
2508 description:
2509 "Deprecated: Use app.config.js to switch config files instead",
2510 args: {
2511 name: "file",
2512 isOptional: true,
2513 template: "filepaths",
2514 },
2515 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png",
2516 priority: 2,
2517 },
2518 ],
2519 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/push.png",
2520 },
2521 {
2522 name: "push:android:show",
2523 hidden: false,
2524 description:
2525 "Log the value currently in use for FCM notifications for this project",
2526 priority: 57,
2527 args: {
2528 isOptional: true,
2529 template: "folders",
2530 name: "path",
2531 },
2532 options: [
2533 {
2534 name: ["-h", "--help"],
2535 priority: 1,
2536 description: "Output usage information",
2537 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png",
2538 },
2539 {
2540 name: "--config",
2541 description:
2542 "Deprecated: Use app.config.js to switch config files instead",
2543 args: {
2544 name: "file",
2545 isOptional: true,
2546 template: "filepaths",
2547 },
2548 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png",
2549 priority: 2,
2550 },
2551 ],
2552 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/push.png",
2553 },
2554 {
2555 name: "push:android:clear",
2556 hidden: false,
2557 description: "Delete a previously uploaded FCM credential",
2558 priority: 57,
2559 args: {
2560 isOptional: true,
2561 template: "folders",
2562 name: "path",
2563 },
2564 options: [
2565 {
2566 name: ["-h", "--help"],
2567 priority: 1,
2568 description: "Output usage information",
2569 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png",
2570 },
2571 {
2572 name: "--config",
2573 description:
2574 "Deprecated: Use app.config.js to switch config files instead",
2575 args: {
2576 name: "file",
2577 isOptional: true,
2578 template: "filepaths",
2579 },
2580 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png",
2581 priority: 2,
2582 },
2583 ],
2584 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/push-clear.png",
2585 },
2586 {
2587 name: "register",
2588 hidden: false,
2589 description: "Sign up for a new Expo account",
2590 priority: 63,
2591 options: [
2592 {
2593 name: ["-h", "--help"],
2594 priority: 1,
2595 description: "Output usage information",
2596 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png",
2597 },
2598 ],
2599 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/register.png",
2600 },
2601 {
2602 name: "run:android",
2603 hidden: false,
2604 description: "Run the Android app binary locally",
2605 priority: 64,
2606 args: {
2607 isOptional: true,
2608 template: "folders",
2609 name: "path",
2610 },
2611 options: [
2612 {
2613 name: ["-h", "--help"],
2614 priority: 1,
2615 description: "Output usage information",
2616 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png",
2617 },
2618 {
2619 name: "--no-bundler",
2620 description: "Skip starting the Metro bundler",
2621 args: {
2622 name: "boolean",
2623 suggestions: [
2624 {
2625 name: "true",
2626 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
2627 },
2628 {
2629 name: "false",
2630 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
2631 },
2632 ],
2633 },
2634 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/metro.png",
2635 },
2636 {
2637 name: ["-d", "--device"],
2638 description: "Device name to build the app on",
2639 args: {
2640 name: "device",
2641 isOptional: true,
2642 },
2643 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/devices.png",
2644 },
2645 {
2646 name: ["-p", "--port"],
2647 description: "Port to start the Metro bundler on. Default: 8081",
2648 args: {
2649 name: "port",
2650 isOptional: false,
2651 },
2652 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/number.png",
2653 },
2654 {
2655 name: "--variant",
2656 description: "(Android) build variant",
2657 args: {
2658 name: "name",
2659 isOptional: true,
2660 },
2661 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png",
2662 },
2663 {
2664 name: "--config",
2665 description:
2666 "Deprecated: Use app.config.js to switch config files instead",
2667 args: {
2668 name: "file",
2669 isOptional: true,
2670 template: "filepaths",
2671 },
2672 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png",
2673 priority: 2,
2674 },
2675 ],
2676 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/android.png",
2677 },
2678 {
2679 name: "run:ios",
2680 hidden: false,
2681 description: "Run the iOS app binary locally",
2682 priority: 64,
2683 args: {
2684 isOptional: true,
2685 template: "folders",
2686 name: "path",
2687 },
2688 options: [
2689 {
2690 name: ["-h", "--help"],
2691 priority: 1,
2692 description: "Output usage information",
2693 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png",
2694 },
2695 {
2696 name: "--no-install",
2697 description: "Skip installing dependencies",
2698 args: {
2699 name: "boolean",
2700 },
2701 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/skip.png",
2702 },
2703 {
2704 name: "--no-bundler",
2705 description: "Skip starting the Metro bundler",
2706 args: {
2707 name: "boolean",
2708 suggestions: [
2709 {
2710 name: "true",
2711 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
2712 },
2713 {
2714 name: "false",
2715 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
2716 },
2717 ],
2718 },
2719 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/metro.png",
2720 },
2721 {
2722 name: ["-d", "--device"],
2723 description: "Device name or UDID to build the app on",
2724 args: {
2725 name: "device",
2726 isOptional: false,
2727 generators: _gen[`xcode-devices`],
2728 },
2729 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/devices.png",
2730 },
2731 {
2732 name: ["-p", "--port"],
2733 description: "Port to start the Metro bundler on. Default: 8081",
2734 args: {
2735 name: "port",
2736 isOptional: false,
2737 },
2738 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/number.png",
2739 },
2740 {
2741 name: "--scheme",
2742 description: "Scheme to build",
2743 args: {
2744 name: "scheme",
2745 isOptional: true,
2746 generators: _gen[`xcode-scheme`],
2747 },
2748 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png",
2749 },
2750 {
2751 name: "--configuration",
2752 description:
2753 "Xcode configuration to use. Debug or Release. Default: Debug",
2754 args: {
2755 name: "configuration",
2756 isOptional: false,
2757 generators: _gen[`xcode-configuration`],
2758 },
2759 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png",
2760 },
2761 {
2762 name: "--config",
2763 description:
2764 "Deprecated: Use app.config.js to switch config files instead",
2765 args: {
2766 name: "file",
2767 isOptional: true,
2768 template: "filepaths",
2769 },
2770 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png",
2771 priority: 2,
2772 },
2773 ],
2774 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/apple.png",
2775 },
2776 {
2777 name: "send",
2778 hidden: false,
2779 description: "Share the project's URL to an email address",
2780 priority: 64,
2781 args: {
2782 isOptional: true,
2783 template: "folders",
2784 name: "path",
2785 },
2786 options: [
2787 {
2788 name: ["-h", "--help"],
2789 priority: 1,
2790 description: "Output usage information",
2791 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png",
2792 },
2793 {
2794 name: ["-s", "--send-to"],
2795 description: "Email address to send the URL to",
2796 args: {
2797 name: "dest",
2798 isOptional: true,
2799 },
2800 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/send.png",
2801 },
2802 {
2803 name: "--dev-client",
2804 description:
2805 "Experimental: Starts the bundler for use with the expo-development-client",
2806 args: {
2807 name: "boolean",
2808 suggestions: [
2809 {
2810 name: "true",
2811 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
2812 },
2813 {
2814 name: "false",
2815 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
2816 },
2817 ],
2818 },
2819 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/dev.png",
2820 },
2821 {
2822 name: "--scheme",
2823 description: "Custom URI protocol to use with a dev client",
2824 args: {
2825 name: "scheme",
2826 isOptional: false,
2827 },
2828 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/scheme.png",
2829 },
2830 {
2831 name: ["-a", "--android"],
2832 description:
2833 "Opens your app in Expo Go on a connected Android device",
2834 args: {
2835 name: "boolean",
2836 suggestions: [
2837 {
2838 name: "true",
2839 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
2840 },
2841 {
2842 name: "false",
2843 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
2844 },
2845 ],
2846 },
2847 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/android.png",
2848 },
2849 {
2850 name: ["-i", "--ios"],
2851 description:
2852 "Opens your app in Expo Go in a currently running iOS simulator on your computer",
2853 args: {
2854 name: "boolean",
2855 suggestions: [
2856 {
2857 name: "true",
2858 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
2859 },
2860 {
2861 name: "false",
2862 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
2863 },
2864 ],
2865 },
2866 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/apple.png",
2867 },
2868 {
2869 name: ["-w", "--web"],
2870 description: "Opens your app in a web browser",
2871 args: {
2872 name: "boolean",
2873 suggestions: [
2874 {
2875 name: "true",
2876 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
2877 },
2878 {
2879 name: "false",
2880 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
2881 },
2882 ],
2883 },
2884 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/web.png",
2885 },
2886 {
2887 name: ["-m", "--host"],
2888 description:
2889 'Lan (default), tunnel, localhost. Type of host to use. "tunnel" allows you to view your link on other networks',
2890 args: {
2891 name: "mode",
2892 isOptional: true,
2893 },
2894 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/lan.png",
2895 },
2896 {
2897 name: "--tunnel",
2898 description: "Same as --host tunnel",
2899 args: {
2900 name: "boolean",
2901 suggestions: [
2902 {
2903 name: "true",
2904 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
2905 },
2906 {
2907 name: "false",
2908 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
2909 },
2910 ],
2911 },
2912 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/tunnel.png",
2913 },
2914 {
2915 name: "--lan",
2916 description: "Same as --host lan",
2917 args: {
2918 name: "boolean",
2919 suggestions: [
2920 {
2921 name: "true",
2922 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
2923 },
2924 {
2925 name: "false",
2926 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
2927 },
2928 ],
2929 },
2930 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/lan.png",
2931 },
2932 {
2933 name: "--localhost",
2934 description: "Same as --host localhost",
2935 args: {
2936 name: "boolean",
2937 suggestions: [
2938 {
2939 name: "true",
2940 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
2941 },
2942 {
2943 name: "false",
2944 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
2945 },
2946 ],
2947 },
2948 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/localhost.png",
2949 },
2950 {
2951 name: "--config",
2952 description:
2953 "Deprecated: Use app.config.js to switch config files instead",
2954 args: {
2955 name: "file",
2956 isOptional: true,
2957 template: "filepaths",
2958 },
2959 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png",
2960 priority: 2,
2961 },
2962 ],
2963 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/send.png",
2964 },
2965 {
2966 name: ["start", "r"],
2967 hidden: false,
2968 description: "Start a local dev server for the app",
2969 priority: 64,
2970 args: {
2971 isOptional: true,
2972 template: "folders",
2973 name: "path",
2974 },
2975 options: [
2976 {
2977 name: ["-h", "--help"],
2978 priority: 1,
2979 description: "Output usage information",
2980 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png",
2981 },
2982 {
2983 name: ["-s", "--send-to"],
2984 description: "An email address to send a link to",
2985 args: {
2986 name: "dest",
2987 isOptional: true,
2988 },
2989 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/send.png",
2990 },
2991 {
2992 name: ["-c", "--clear"],
2993 description: "Clear the Metro bundler cache",
2994 args: {
2995 name: "boolean",
2996 suggestions: [
2997 {
2998 name: "true",
2999 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
3000 },
3001 {
3002 name: "false",
3003 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
3004 },
3005 ],
3006 },
3007 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/clear.png",
3008 },
3009 {
3010 name: "--max-workers",
3011 description: "Maximum number of tasks to allow Metro to spawn",
3012 args: {
3013 name: "Number of workers",
3014 isOptional: false,
3015 generators: _gen[`max-workers`],
3016 },
3017 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/number.png",
3018 },
3019 {
3020 name: "--dev",
3021 description: "Turn development mode on",
3022 args: {
3023 name: "boolean",
3024 suggestions: [
3025 {
3026 name: "true",
3027 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
3028 },
3029 {
3030 name: "false",
3031 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
3032 },
3033 ],
3034 },
3035 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/dev.png",
3036 },
3037 {
3038 name: "--no-dev",
3039 description: "Turn development mode off",
3040 args: {
3041 name: "boolean",
3042 suggestions: [
3043 {
3044 name: "true",
3045 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
3046 },
3047 {
3048 name: "false",
3049 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
3050 },
3051 ],
3052 },
3053 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/skip.png",
3054 },
3055 {
3056 name: "--minify",
3057 description: "Minify code",
3058 args: {
3059 name: "boolean",
3060 suggestions: [
3061 {
3062 name: "true",
3063 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
3064 },
3065 {
3066 name: "false",
3067 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
3068 },
3069 ],
3070 },
3071 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/minify.png",
3072 },
3073 {
3074 name: "--no-minify",
3075 description: "Do not minify code",
3076 args: {
3077 name: "boolean",
3078 suggestions: [
3079 {
3080 name: "true",
3081 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
3082 },
3083 {
3084 name: "false",
3085 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
3086 },
3087 ],
3088 },
3089 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/skip.png",
3090 },
3091 {
3092 name: "--https",
3093 description: "To start webpack with https protocol",
3094 args: {
3095 name: "boolean",
3096 suggestions: [
3097 {
3098 name: "true",
3099 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
3100 },
3101 {
3102 name: "false",
3103 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
3104 },
3105 ],
3106 },
3107 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/lock.png",
3108 },
3109 {
3110 name: ["-p", "--port"],
3111 description:
3112 "Port to start the native Metro bundler on (does not apply to web or tunnel). Default: 19000",
3113 args: {
3114 name: "port",
3115 isOptional: false,
3116 },
3117 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/number.png",
3118 },
3119 {
3120 name: "--no-https",
3121 description: "To start webpack with http protocol",
3122 args: {
3123 name: "boolean",
3124 suggestions: [
3125 {
3126 name: "true",
3127 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
3128 },
3129 {
3130 name: "false",
3131 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
3132 },
3133 ],
3134 },
3135 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/skip.png",
3136 },
3137 {
3138 name: "--dev-client",
3139 description:
3140 "Experimental: Starts the bundler for use with the expo-development-client",
3141 args: {
3142 name: "boolean",
3143 suggestions: [
3144 {
3145 name: "true",
3146 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
3147 },
3148 {
3149 name: "false",
3150 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
3151 },
3152 ],
3153 },
3154 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/dev.png",
3155 },
3156 {
3157 name: "--scheme",
3158 description: "Custom URI protocol to use with a dev client",
3159 args: {
3160 name: "scheme",
3161 isOptional: false,
3162 },
3163 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/scheme.png",
3164 },
3165 {
3166 name: ["-a", "--android"],
3167 description:
3168 "Opens your app in Expo Go on a connected Android device",
3169 args: {
3170 name: "boolean",
3171 suggestions: [
3172 {
3173 name: "true",
3174 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
3175 },
3176 {
3177 name: "false",
3178 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
3179 },
3180 ],
3181 },
3182 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/android.png",
3183 },
3184 {
3185 name: ["-i", "--ios"],
3186 description:
3187 "Opens your app in Expo Go in a currently running iOS simulator on your computer",
3188 args: {
3189 name: "boolean",
3190 suggestions: [
3191 {
3192 name: "true",
3193 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
3194 },
3195 {
3196 name: "false",
3197 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
3198 },
3199 ],
3200 },
3201 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/apple.png",
3202 },
3203 {
3204 name: ["-w", "--web"],
3205 description: "Opens your app in a web browser",
3206 args: {
3207 name: "boolean",
3208 suggestions: [
3209 {
3210 name: "true",
3211 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
3212 },
3213 {
3214 name: "false",
3215 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
3216 },
3217 ],
3218 },
3219 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/web.png",
3220 },
3221 {
3222 name: ["-m", "--host"],
3223 description:
3224 'Lan (default), tunnel, localhost. Type of host to use. "tunnel" allows you to view your link on other networks',
3225 args: {
3226 name: "mode",
3227 isOptional: true,
3228 },
3229 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/lan.png",
3230 },
3231 {
3232 name: "--tunnel",
3233 description: "Same as --host tunnel",
3234 args: {
3235 name: "boolean",
3236 suggestions: [
3237 {
3238 name: "true",
3239 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
3240 },
3241 {
3242 name: "false",
3243 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
3244 },
3245 ],
3246 },
3247 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/tunnel.png",
3248 },
3249 {
3250 name: "--lan",
3251 description: "Same as --host lan",
3252 args: {
3253 name: "boolean",
3254 suggestions: [
3255 {
3256 name: "true",
3257 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
3258 },
3259 {
3260 name: "false",
3261 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
3262 },
3263 ],
3264 },
3265 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/lan.png",
3266 },
3267 {
3268 name: "--localhost",
3269 description: "Same as --host localhost",
3270 args: {
3271 name: "boolean",
3272 suggestions: [
3273 {
3274 name: "true",
3275 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
3276 },
3277 {
3278 name: "false",
3279 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
3280 },
3281 ],
3282 },
3283 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/localhost.png",
3284 },
3285 {
3286 name: "--offline",
3287 description: "Allows this command to run while offline",
3288 args: {
3289 name: "boolean",
3290 suggestions: [
3291 {
3292 name: "true",
3293 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
3294 },
3295 {
3296 name: "false",
3297 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
3298 },
3299 ],
3300 },
3301 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/offline.png",
3302 },
3303 {
3304 name: "--config",
3305 description:
3306 "Deprecated: Use app.config.js to switch config files instead",
3307 args: {
3308 name: "file",
3309 isOptional: true,
3310 template: "filepaths",
3311 },
3312 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png",
3313 priority: 2,
3314 },
3315 ],
3316 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/play.png",
3317 },
3318 {
3319 name: ["start:web", "web"],
3320 hidden: false,
3321 description: "Start a Webpack dev server for the web app",
3322 priority: 64,
3323 args: {
3324 isOptional: true,
3325 template: "folders",
3326 name: "path",
3327 },
3328 options: [
3329 {
3330 name: ["-h", "--help"],
3331 priority: 1,
3332 description: "Output usage information",
3333 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png",
3334 },
3335 {
3336 name: "--dev",
3337 description: "Turn development mode on",
3338 args: {
3339 name: "boolean",
3340 suggestions: [
3341 {
3342 name: "true",
3343 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
3344 },
3345 {
3346 name: "false",
3347 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
3348 },
3349 ],
3350 },
3351 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/dev.png",
3352 },
3353 {
3354 name: "--no-dev",
3355 description: "Turn development mode off",
3356 args: {
3357 name: "boolean",
3358 suggestions: [
3359 {
3360 name: "true",
3361 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
3362 },
3363 {
3364 name: "false",
3365 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
3366 },
3367 ],
3368 },
3369 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/skip.png",
3370 },
3371 {
3372 name: "--minify",
3373 description: "Minify code",
3374 args: {
3375 name: "boolean",
3376 suggestions: [
3377 {
3378 name: "true",
3379 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
3380 },
3381 {
3382 name: "false",
3383 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
3384 },
3385 ],
3386 },
3387 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/minify.png",
3388 },
3389 {
3390 name: "--no-minify",
3391 description: "Do not minify code",
3392 args: {
3393 name: "boolean",
3394 suggestions: [
3395 {
3396 name: "true",
3397 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
3398 },
3399 {
3400 name: "false",
3401 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
3402 },
3403 ],
3404 },
3405 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/skip.png",
3406 },
3407 {
3408 name: "--https",
3409 description: "To start webpack with https protocol",
3410 args: {
3411 name: "boolean",
3412 suggestions: [
3413 {
3414 name: "true",
3415 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
3416 },
3417 {
3418 name: "false",
3419 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
3420 },
3421 ],
3422 },
3423 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/lock.png",
3424 },
3425 {
3426 name: "--no-https",
3427 description: "To start webpack with http protocol",
3428 args: {
3429 name: "boolean",
3430 suggestions: [
3431 {
3432 name: "true",
3433 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
3434 },
3435 {
3436 name: "false",
3437 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
3438 },
3439 ],
3440 },
3441 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/skip.png",
3442 },
3443 {
3444 name: ["-p", "--port"],
3445 description: "Port to start the Webpack bundler on. Default: 19006",
3446 args: {
3447 name: "port",
3448 isOptional: false,
3449 },
3450 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/number.png",
3451 },
3452 {
3453 name: ["-s", "--send-to"],
3454 description: "An email address to send a link to",
3455 args: {
3456 name: "dest",
3457 isOptional: true,
3458 },
3459 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/send.png",
3460 },
3461 {
3462 name: "--dev-client",
3463 description:
3464 "Experimental: Starts the bundler for use with the expo-development-client",
3465 args: {
3466 name: "boolean",
3467 suggestions: [
3468 {
3469 name: "true",
3470 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
3471 },
3472 {
3473 name: "false",
3474 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
3475 },
3476 ],
3477 },
3478 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/dev.png",
3479 },
3480 {
3481 name: "--scheme",
3482 description: "Custom URI protocol to use with a dev client",
3483 args: {
3484 name: "scheme",
3485 isOptional: false,
3486 },
3487 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/scheme.png",
3488 },
3489 {
3490 name: ["-a", "--android"],
3491 description:
3492 "Opens your app in Expo Go on a connected Android device",
3493 args: {
3494 name: "boolean",
3495 suggestions: [
3496 {
3497 name: "true",
3498 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
3499 },
3500 {
3501 name: "false",
3502 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
3503 },
3504 ],
3505 },
3506 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/android.png",
3507 },
3508 {
3509 name: ["-i", "--ios"],
3510 description:
3511 "Opens your app in Expo Go in a currently running iOS simulator on your computer",
3512 args: {
3513 name: "boolean",
3514 suggestions: [
3515 {
3516 name: "true",
3517 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
3518 },
3519 {
3520 name: "false",
3521 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
3522 },
3523 ],
3524 },
3525 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/apple.png",
3526 },
3527 {
3528 name: ["-w", "--web"],
3529 description: "Opens your app in a web browser",
3530 args: {
3531 name: "boolean",
3532 suggestions: [
3533 {
3534 name: "true",
3535 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
3536 },
3537 {
3538 name: "false",
3539 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
3540 },
3541 ],
3542 },
3543 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/web.png",
3544 },
3545 {
3546 name: ["-m", "--host"],
3547 description:
3548 'Lan (default), tunnel, localhost. Type of host to use. "tunnel" allows you to view your link on other networks',
3549 args: {
3550 name: "mode",
3551 isOptional: true,
3552 },
3553 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/lan.png",
3554 },
3555 {
3556 name: "--tunnel",
3557 description: "Same as --host tunnel",
3558 args: {
3559 name: "boolean",
3560 suggestions: [
3561 {
3562 name: "true",
3563 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
3564 },
3565 {
3566 name: "false",
3567 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
3568 },
3569 ],
3570 },
3571 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/tunnel.png",
3572 },
3573 {
3574 name: "--lan",
3575 description: "Same as --host lan",
3576 args: {
3577 name: "boolean",
3578 suggestions: [
3579 {
3580 name: "true",
3581 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
3582 },
3583 {
3584 name: "false",
3585 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
3586 },
3587 ],
3588 },
3589 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/lan.png",
3590 },
3591 {
3592 name: "--localhost",
3593 description: "Same as --host localhost",
3594 args: {
3595 name: "boolean",
3596 suggestions: [
3597 {
3598 name: "true",
3599 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
3600 },
3601 {
3602 name: "false",
3603 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
3604 },
3605 ],
3606 },
3607 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/localhost.png",
3608 },
3609 {
3610 name: "--offline",
3611 description: "Allows this command to run while offline",
3612 args: {
3613 name: "boolean",
3614 suggestions: [
3615 {
3616 name: "true",
3617 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
3618 },
3619 {
3620 name: "false",
3621 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
3622 },
3623 ],
3624 },
3625 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/offline.png",
3626 },
3627 {
3628 name: "--config",
3629 description:
3630 "Deprecated: Use app.config.js to switch config files instead",
3631 args: {
3632 name: "file",
3633 isOptional: true,
3634 template: "filepaths",
3635 },
3636 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png",
3637 priority: 2,
3638 },
3639 ],
3640 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/web.png",
3641 },
3642 {
3643 name: ["upgrade", "update"],
3644 hidden: false,
3645 description:
3646 "Upgrade the project packages and config for the given SDK version",
3647 priority: 61,
3648 args: {
3649 isOptional: true,
3650 name: "sdk-version",
3651 },
3652 options: [
3653 {
3654 name: ["-h", "--help"],
3655 priority: 1,
3656 description: "Output usage information",
3657 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png",
3658 },
3659 {
3660 name: "--npm",
3661 description:
3662 "Use npm to install dependencies. (default when package-lock.json exists)",
3663 args: {
3664 name: "boolean",
3665 suggestions: [
3666 {
3667 name: "true",
3668 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
3669 },
3670 {
3671 name: "false",
3672 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
3673 },
3674 ],
3675 },
3676 icon: "fig://icon?type=npm",
3677 },
3678 {
3679 name: "--yarn",
3680 description:
3681 "Use Yarn to install dependencies. (default when yarn.lock exists)",
3682 args: {
3683 name: "boolean",
3684 suggestions: [
3685 {
3686 name: "true",
3687 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
3688 },
3689 {
3690 name: "false",
3691 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
3692 },
3693 ],
3694 },
3695 icon: "fig://icon?type=yarn",
3696 },
3697 ],
3698 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/upgrade.png",
3699 },
3700 {
3701 name: ["upload:android", "ua"],
3702 hidden: false,
3703 description: "Upload an Android binary to the Google Play Store",
3704 priority: 54,
3705 args: {
3706 isOptional: true,
3707 template: "folders",
3708 name: "path",
3709 },
3710 options: [
3711 {
3712 name: ["-h", "--help"],
3713 priority: 1,
3714 description: "Output usage information",
3715 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png",
3716 },
3717 {
3718 name: "--latest",
3719 description: "Upload the latest build",
3720 args: {
3721 name: "boolean",
3722 suggestions: [
3723 {
3724 name: "true",
3725 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
3726 },
3727 {
3728 name: "false",
3729 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
3730 },
3731 ],
3732 },
3733 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/latest.png",
3734 },
3735 {
3736 name: "--id",
3737 description: "Id of the build to upload",
3738 args: {
3739 name: "id",
3740 isOptional: false,
3741 },
3742 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png",
3743 },
3744 {
3745 name: "--path",
3746 description: "Path to the .apk/.aab file",
3747 args: {
3748 name: "path",
3749 isOptional: true,
3750 template: "filepaths",
3751 },
3752 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/path.png",
3753 },
3754 {
3755 name: "--url",
3756 description: "App archive url",
3757 args: {
3758 name: "url",
3759 isOptional: false,
3760 },
3761 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png",
3762 },
3763 {
3764 name: "--key",
3765 description:
3766 "Path to the JSON key used to authenticate with Google Play",
3767 args: {
3768 name: "key",
3769 isOptional: false,
3770 },
3771 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/key.png",
3772 },
3773 {
3774 name: "--android-package",
3775 description:
3776 "Android package name (using expo.android.package from app.json by default)",
3777 args: {
3778 name: "boolean",
3779 suggestions: [
3780 {
3781 name: "true",
3782 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
3783 },
3784 {
3785 name: "false",
3786 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
3787 },
3788 ],
3789 },
3790 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/android.png",
3791 },
3792 {
3793 name: "--type",
3794 description: "Archive type: apk, aab",
3795 args: {
3796 name: "boolean",
3797 suggestions: [
3798 {
3799 name: "true",
3800 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
3801 },
3802 {
3803 name: "false",
3804 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
3805 },
3806 ],
3807 },
3808 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png",
3809 },
3810 {
3811 name: "--track",
3812 description:
3813 "The track of the application to use, choose from: production, beta, alpha, internal, rollout",
3814 args: {
3815 name: "track",
3816 isOptional: false,
3817 },
3818 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png",
3819 },
3820 {
3821 name: "--release-status",
3822 description:
3823 "Release status (used when uploading new apks/aabs), choose from: completed, draft, halted, inProgress",
3824 args: {
3825 name: "boolean",
3826 suggestions: [
3827 {
3828 name: "true",
3829 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
3830 },
3831 {
3832 name: "false",
3833 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
3834 },
3835 ],
3836 },
3837 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png",
3838 },
3839 {
3840 name: "--use-submission-service",
3841 description:
3842 "Experimental: Use Submission Service for uploading your app. The upload process will happen on Expo servers",
3843 args: {
3844 name: "boolean",
3845 suggestions: [
3846 {
3847 name: "true",
3848 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
3849 },
3850 {
3851 name: "false",
3852 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
3853 },
3854 ],
3855 },
3856 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png",
3857 },
3858 {
3859 name: "--verbose",
3860 description: "Always print logs from Submission Service",
3861 args: {
3862 name: "boolean",
3863 suggestions: [
3864 {
3865 name: "true",
3866 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
3867 },
3868 {
3869 name: "false",
3870 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
3871 },
3872 ],
3873 },
3874 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/verbose.png",
3875 },
3876 {
3877 name: "--config",
3878 description:
3879 "Deprecated: Use app.config.js to switch config files instead",
3880 args: {
3881 name: "file",
3882 isOptional: true,
3883 template: "filepaths",
3884 },
3885 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png",
3886 priority: 2,
3887 },
3888 ],
3889 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/play-store.png",
3890 },
3891 {
3892 name: ["upload:ios", "ui"],
3893 hidden: false,
3894 description: "Unsupported: Use eas submit or Transporter app instead",
3895 priority: 54,
3896 args: {
3897 isOptional: true,
3898 template: "folders",
3899 name: "path",
3900 },
3901 options: [
3902 {
3903 name: ["-h", "--help"],
3904 priority: 1,
3905 description: "Output usage information",
3906 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png",
3907 },
3908 {
3909 name: "--latest",
3910 description: "Upload the latest build (default)",
3911 args: {
3912 name: "boolean",
3913 suggestions: [
3914 {
3915 name: "true",
3916 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
3917 },
3918 {
3919 name: "false",
3920 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
3921 },
3922 ],
3923 },
3924 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/latest.png",
3925 },
3926 {
3927 name: "--id",
3928 description: "Id of the build to upload",
3929 args: {
3930 name: "id",
3931 isOptional: false,
3932 },
3933 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png",
3934 },
3935 {
3936 name: "--path",
3937 description: "Path to the .ipa file",
3938 args: {
3939 name: "path",
3940 isOptional: true,
3941 template: "filepaths",
3942 },
3943 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/path.png",
3944 },
3945 {
3946 name: "--url",
3947 description: "App archive url",
3948 args: {
3949 name: "url",
3950 isOptional: false,
3951 },
3952 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png",
3953 },
3954 {
3955 name: "--apple-id",
3956 description:
3957 "Your Apple ID username (you can also set EXPO_APPLE_ID env variable)",
3958 args: {
3959 name: "boolean",
3960 suggestions: [
3961 {
3962 name: "true",
3963 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
3964 },
3965 {
3966 name: "false",
3967 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
3968 },
3969 ],
3970 },
3971 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/apple.png",
3972 },
3973 {
3974 name: "--itc-team-id",
3975 description:
3976 "App Store Connect Team ID - this option is deprecated, the proper ID is resolved automatically",
3977 args: {
3978 name: "boolean",
3979 suggestions: [
3980 {
3981 name: "true",
3982 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
3983 },
3984 {
3985 name: "false",
3986 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
3987 },
3988 ],
3989 },
3990 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png",
3991 },
3992 {
3993 name: "--apple-id-password",
3994 description:
3995 "Your Apple ID password (you can also set EXPO_APPLE_PASSWORD env variable)",
3996 args: {
3997 name: "boolean",
3998 suggestions: [
3999 {
4000 name: "true",
4001 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
4002 },
4003 {
4004 name: "false",
4005 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
4006 },
4007 ],
4008 },
4009 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/apple.png",
4010 },
4011 {
4012 name: "--app-name",
4013 description:
4014 "The name of your app as it will appear on the App Store, this can't be longer than 30 characters (default: expo.name from app.json)",
4015 args: {
4016 name: "boolean",
4017 suggestions: [
4018 {
4019 name: "true",
4020 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
4021 },
4022 {
4023 name: "false",
4024 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
4025 },
4026 ],
4027 },
4028 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png",
4029 },
4030 {
4031 name: "--company-name",
4032 description:
4033 "The name of your company, needed only for the first upload of any app to App Store",
4034 args: {
4035 name: "boolean",
4036 suggestions: [
4037 {
4038 name: "true",
4039 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
4040 },
4041 {
4042 name: "false",
4043 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
4044 },
4045 ],
4046 },
4047 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png",
4048 },
4049 {
4050 name: "--sku",
4051 description:
4052 "A unique ID for your app that is not visible on the App Store, will be generated unless provided",
4053 args: {
4054 name: "sku",
4055 isOptional: false,
4056 },
4057 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png",
4058 },
4059 {
4060 name: "--language",
4061 description:
4062 "Primary language (e.g. English, German; run `expo upload:ios --help` to see the list of available languages)",
4063 args: {
4064 name: "language",
4065 isOptional: false,
4066 },
4067 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png",
4068 },
4069 {
4070 name: "--public-url",
4071 description:
4072 "The URL of an externally hosted manifest (for self-hosted apps)",
4073 args: {
4074 name: "url",
4075 isOptional: false,
4076 },
4077 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png",
4078 },
4079 {
4080 name: "--config",
4081 description:
4082 "Deprecated: Use app.config.js to switch config files instead",
4083 args: {
4084 name: "file",
4085 isOptional: true,
4086 template: "filepaths",
4087 },
4088 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png",
4089 priority: 2,
4090 },
4091 ],
4092 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/app-store.png",
4093 },
4094 {
4095 name: ["url", "u"],
4096 hidden: false,
4097 description: "Log a URL for opening the project in Expo Go",
4098 priority: 56,
4099 args: {
4100 isOptional: true,
4101 template: "folders",
4102 name: "path",
4103 },
4104 options: [
4105 {
4106 name: ["-h", "--help"],
4107 priority: 1,
4108 description: "Output usage information",
4109 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png",
4110 },
4111 {
4112 name: "--dev-client",
4113 description:
4114 "Experimental: Starts the bundler for use with the expo-development-client",
4115 args: {
4116 name: "boolean",
4117 suggestions: [
4118 {
4119 name: "true",
4120 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
4121 },
4122 {
4123 name: "false",
4124 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
4125 },
4126 ],
4127 },
4128 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/dev.png",
4129 },
4130 {
4131 name: "--scheme",
4132 description: "Custom URI protocol to use with a dev client",
4133 args: {
4134 name: "scheme",
4135 isOptional: false,
4136 },
4137 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/scheme.png",
4138 },
4139 {
4140 name: ["-a", "--android"],
4141 description:
4142 "Opens your app in Expo Go on a connected Android device",
4143 args: {
4144 name: "boolean",
4145 suggestions: [
4146 {
4147 name: "true",
4148 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
4149 },
4150 {
4151 name: "false",
4152 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
4153 },
4154 ],
4155 },
4156 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/android.png",
4157 },
4158 {
4159 name: ["-i", "--ios"],
4160 description:
4161 "Opens your app in Expo Go in a currently running iOS simulator on your computer",
4162 args: {
4163 name: "boolean",
4164 suggestions: [
4165 {
4166 name: "true",
4167 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
4168 },
4169 {
4170 name: "false",
4171 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
4172 },
4173 ],
4174 },
4175 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/apple.png",
4176 },
4177 {
4178 name: ["-w", "--web"],
4179 description: "Opens your app in a web browser",
4180 args: {
4181 name: "boolean",
4182 suggestions: [
4183 {
4184 name: "true",
4185 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
4186 },
4187 {
4188 name: "false",
4189 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
4190 },
4191 ],
4192 },
4193 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/web.png",
4194 },
4195 {
4196 name: ["-m", "--host"],
4197 description:
4198 'Lan (default), tunnel, localhost. Type of host to use. "tunnel" allows you to view your link on other networks',
4199 args: {
4200 name: "mode",
4201 isOptional: true,
4202 },
4203 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/lan.png",
4204 },
4205 {
4206 name: "--tunnel",
4207 description: "Same as --host tunnel",
4208 args: {
4209 name: "boolean",
4210 suggestions: [
4211 {
4212 name: "true",
4213 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
4214 },
4215 {
4216 name: "false",
4217 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
4218 },
4219 ],
4220 },
4221 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/tunnel.png",
4222 },
4223 {
4224 name: "--lan",
4225 description: "Same as --host lan",
4226 args: {
4227 name: "boolean",
4228 suggestions: [
4229 {
4230 name: "true",
4231 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
4232 },
4233 {
4234 name: "false",
4235 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
4236 },
4237 ],
4238 },
4239 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/lan.png",
4240 },
4241 {
4242 name: "--localhost",
4243 description: "Same as --host localhost",
4244 args: {
4245 name: "boolean",
4246 suggestions: [
4247 {
4248 name: "true",
4249 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
4250 },
4251 {
4252 name: "false",
4253 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
4254 },
4255 ],
4256 },
4257 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/localhost.png",
4258 },
4259 {
4260 name: "--offline",
4261 description: "Allows this command to run while offline",
4262 args: {
4263 name: "boolean",
4264 suggestions: [
4265 {
4266 name: "true",
4267 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
4268 },
4269 {
4270 name: "false",
4271 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
4272 },
4273 ],
4274 },
4275 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/offline.png",
4276 },
4277 {
4278 name: "--config",
4279 description:
4280 "Deprecated: Use app.config.js to switch config files instead",
4281 args: {
4282 name: "file",
4283 isOptional: true,
4284 template: "filepaths",
4285 },
4286 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png",
4287 priority: 2,
4288 },
4289 ],
4290 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/url.png",
4291 },
4292 {
4293 name: "url:ipa",
4294 hidden: false,
4295 description: "Log the download URL for the standalone iOS binary",
4296 priority: 56,
4297 args: {
4298 isOptional: true,
4299 template: "folders",
4300 name: "path",
4301 },
4302 options: [
4303 {
4304 name: ["-h", "--help"],
4305 priority: 1,
4306 description: "Output usage information",
4307 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png",
4308 },
4309 {
4310 name: "--public-url",
4311 description:
4312 "The URL of an externally hosted manifest (for self-hosted apps)",
4313 args: {
4314 name: "url",
4315 isOptional: false,
4316 },
4317 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png",
4318 },
4319 {
4320 name: "--config",
4321 description:
4322 "Deprecated: Use app.config.js to switch config files instead",
4323 args: {
4324 name: "file",
4325 isOptional: true,
4326 template: "filepaths",
4327 },
4328 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png",
4329 priority: 2,
4330 },
4331 ],
4332 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/app-store.png",
4333 },
4334 {
4335 name: "url:apk",
4336 hidden: false,
4337 description: "Log the download URL for the standalone Android binary",
4338 priority: 56,
4339 args: {
4340 isOptional: true,
4341 template: "folders",
4342 name: "path",
4343 },
4344 options: [
4345 {
4346 name: ["-h", "--help"],
4347 priority: 1,
4348 description: "Output usage information",
4349 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png",
4350 },
4351 {
4352 name: "--public-url",
4353 description:
4354 "The URL of an externally hosted manifest (for self-hosted apps)",
4355 args: {
4356 name: "url",
4357 isOptional: false,
4358 },
4359 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png",
4360 },
4361 {
4362 name: "--config",
4363 description:
4364 "Deprecated: Use app.config.js to switch config files instead",
4365 args: {
4366 name: "file",
4367 isOptional: true,
4368 template: "filepaths",
4369 },
4370 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png",
4371 priority: 2,
4372 },
4373 ],
4374 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/play-store.png",
4375 },
4376 {
4377 name: "webhooks",
4378 hidden: false,
4379 description: "List all webhooks for a project",
4380 priority: 55,
4381 args: {
4382 isOptional: true,
4383 template: "folders",
4384 name: "path",
4385 },
4386 options: [
4387 {
4388 name: ["-h", "--help"],
4389 priority: 1,
4390 description: "Output usage information",
4391 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png",
4392 },
4393 {
4394 name: "--config",
4395 description:
4396 "Deprecated: Use app.config.js to switch config files instead",
4397 args: {
4398 name: "file",
4399 isOptional: true,
4400 template: "filepaths",
4401 },
4402 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png",
4403 priority: 2,
4404 },
4405 ],
4406 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/webhook.png",
4407 },
4408 {
4409 name: "webhooks:add",
4410 hidden: false,
4411 description: "Add a webhook to a project",
4412 priority: 55,
4413 args: {
4414 isOptional: true,
4415 template: "folders",
4416 name: "path",
4417 },
4418 options: [
4419 {
4420 name: ["-h", "--help"],
4421 priority: 1,
4422 description: "Output usage information",
4423 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png",
4424 },
4425 {
4426 name: "--url",
4427 description: "URL to request. (Required)",
4428 args: {
4429 name: "url",
4430 isOptional: false,
4431 },
4432 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png",
4433 },
4434 {
4435 name: "--event",
4436 description:
4437 "Event type that triggers the webhook. [build] (Required)",
4438 args: {
4439 name: "boolean",
4440 suggestions: [
4441 {
4442 name: "true",
4443 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
4444 },
4445 {
4446 name: "false",
4447 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
4448 },
4449 ],
4450 },
4451 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png",
4452 },
4453 {
4454 name: "--secret",
4455 description:
4456 "Secret used to create a hash signature of the request payload, provided in the 'Expo-Signature' header",
4457 args: {
4458 name: "secret",
4459 isOptional: false,
4460 },
4461 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/lock.png",
4462 },
4463 {
4464 name: "--config",
4465 description:
4466 "Deprecated: Use app.config.js to switch config files instead",
4467 args: {
4468 name: "file",
4469 isOptional: true,
4470 template: "filepaths",
4471 },
4472 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png",
4473 priority: 2,
4474 },
4475 ],
4476 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/webhook-add.png",
4477 },
4478 {
4479 name: "webhooks:remove",
4480 hidden: false,
4481 description: "Delete a webhook",
4482 priority: 55,
4483 args: {
4484 isOptional: true,
4485 template: "folders",
4486 name: "path",
4487 },
4488 options: [
4489 {
4490 name: ["-h", "--help"],
4491 priority: 1,
4492 description: "Output usage information",
4493 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png",
4494 },
4495 {
4496 name: "--id",
4497 description: "ID of the webhook to remove",
4498 args: {
4499 name: "id",
4500 isOptional: false,
4501 },
4502 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png",
4503 },
4504 {
4505 name: "--config",
4506 description:
4507 "Deprecated: Use app.config.js to switch config files instead",
4508 args: {
4509 name: "file",
4510 isOptional: true,
4511 template: "filepaths",
4512 },
4513 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png",
4514 priority: 2,
4515 },
4516 ],
4517 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/webhook-remove.png",
4518 },
4519 {
4520 name: "webhooks:update",
4521 hidden: false,
4522 description: "Update an existing webhook",
4523 priority: 55,
4524 args: {
4525 isOptional: true,
4526 template: "folders",
4527 name: "path",
4528 },
4529 options: [
4530 {
4531 name: ["-h", "--help"],
4532 priority: 1,
4533 description: "Output usage information",
4534 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png",
4535 },
4536 {
4537 name: "--id",
4538 description: "ID of the webhook to update",
4539 args: {
4540 name: "id",
4541 isOptional: false,
4542 },
4543 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png",
4544 },
4545 {
4546 name: "--url",
4547 description: "URL the webhook will request",
4548 args: {
4549 name: "url",
4550 isOptional: true,
4551 },
4552 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png",
4553 },
4554 {
4555 name: "--event",
4556 description: "Event type that triggers the webhook. [build]",
4557 args: {
4558 name: "boolean",
4559 suggestions: [
4560 {
4561 name: "true",
4562 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png",
4563 },
4564 {
4565 name: "false",
4566 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/false.png",
4567 },
4568 ],
4569 },
4570 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png",
4571 },
4572 {
4573 name: "--secret",
4574 description:
4575 "Secret used to create a hash signature of the request payload, provided in the 'Expo-Signature' header",
4576 args: {
4577 name: "secret",
4578 isOptional: true,
4579 },
4580 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/lock.png",
4581 },
4582 {
4583 name: "--config",
4584 description:
4585 "Deprecated: Use app.config.js to switch config files instead",
4586 args: {
4587 name: "file",
4588 isOptional: true,
4589 template: "filepaths",
4590 },
4591 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png",
4592 priority: 2,
4593 },
4594 ],
4595 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/webhook-update.png",
4596 },
4597 {
4598 name: ["whoami", "w"],
4599 hidden: false,
4600 description: "Return the currently authenticated account",
4601 priority: 63,
4602 options: [
4603 {
4604 name: ["-h", "--help"],
4605 priority: 1,
4606 description: "Output usage information",
4607 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png",
4608 },
4609 ],
4610 icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/info.png",
4611 },
4612 ],
4613 };
4614 export default completionSpec;