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