| 1 | const completionSpec: Fig.Spec = { |
| 2 | name: "expo-cli", |
| 3 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/expo.png", |
| 4 | description: "Tools for creating, running, and deploying Universal Expo and React Native apps", |
| 5 | options: [ |
| 6 | { |
| 7 | name: ["-h", "--help"], |
| 8 | priority: 1, |
| 9 | description: "Output usage information", |
| 10 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png", |
| 11 | }, |
| 12 | { |
| 13 | name: ["-V", "--version"], |
| 14 | description: "Output the version number", |
| 15 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/info.png", |
| 16 | priority: 1, |
| 17 | }, |
| 18 | ], |
| 19 | subcommands: [ |
| 20 | { |
| 21 | name: ["build:ios", "bi"], |
| 22 | hidden: false, |
| 23 | description: "Build and sign a standalone IPA for the Apple App Store", |
| 24 | priority: 59, |
| 25 | args: { |
| 26 | isOptional: true, |
| 27 | template: "folders", |
| 28 | name: "path", |
| 29 | }, |
| 30 | options: [ |
| 31 | { |
| 32 | name: ["-h", "--help"], |
| 33 | priority: 1, |
| 34 | description: "Output usage information", |
| 35 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png", |
| 36 | }, |
| 37 | { |
| 38 | name: ["-c", "--clear-credentials"], |
| 39 | description: "Clear all credentials stored on Expo servers", |
| 40 | args: { |
| 41 | name: "boolean", |
| 42 | }, |
| 43 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/clear.png", |
| 44 | }, |
| 45 | { |
| 46 | name: "--clear-dist-cert", |
| 47 | description: "Remove Distribution Certificate stored on Expo servers", |
| 48 | args: { |
| 49 | name: "boolean", |
| 50 | }, |
| 51 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/clear.png", |
| 52 | }, |
| 53 | { |
| 54 | name: "--clear-push-key", |
| 55 | description: "Remove Push Notifications Key stored on Expo servers", |
| 56 | args: { |
| 57 | name: "boolean", |
| 58 | }, |
| 59 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/clear.png", |
| 60 | }, |
| 61 | { |
| 62 | name: "--clear-push-cert", |
| 63 | description: |
| 64 | "Remove Push Notifications Certificate stored on Expo servers. Use of Push Notifications Certificates is deprecated", |
| 65 | args: { |
| 66 | name: "boolean", |
| 67 | }, |
| 68 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/clear.png", |
| 69 | }, |
| 70 | { |
| 71 | name: "--clear-provisioning-profile", |
| 72 | description: "Remove Provisioning Profile stored on Expo servers", |
| 73 | args: { |
| 74 | name: "boolean", |
| 75 | }, |
| 76 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/clear.png", |
| 77 | }, |
| 78 | { |
| 79 | name: ["-r", "--revoke-credentials"], |
| 80 | description: |
| 81 | "Revoke credentials on developer.apple.com, select appropriate using --clear-* options", |
| 82 | args: { |
| 83 | name: "boolean", |
| 84 | }, |
| 85 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/clear.png", |
| 86 | }, |
| 87 | { |
| 88 | name: "--apple-id", |
| 89 | description: |
| 90 | "Apple ID username (please also set the Apple ID password as EXPO_APPLE_PASSWORD environment variable)", |
| 91 | args: { |
| 92 | name: "login", |
| 93 | isOptional: false, |
| 94 | }, |
| 95 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/apple.png", |
| 96 | }, |
| 97 | { |
| 98 | name: ["-t", "--type"], |
| 99 | description: "Type of build: [archive|simulator]", |
| 100 | args: { |
| 101 | name: "archive|simulator", |
| 102 | isOptional: false, |
| 103 | suggestions: [ |
| 104 | { |
| 105 | name: "archive", |
| 106 | }, |
| 107 | { |
| 108 | name: "simulator", |
| 109 | icon: |
| 110 | "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/devices.png", |
| 111 | }, |
| 112 | ], |
| 113 | }, |
| 114 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png", |
| 115 | }, |
| 116 | { |
| 117 | name: "--release-channel", |
| 118 | description: "Pull from specified release channel", |
| 119 | args: { |
| 120 | name: "name", |
| 121 | isOptional: false, |
| 122 | }, |
| 123 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png", |
| 124 | }, |
| 125 | { |
| 126 | name: "--no-publish", |
| 127 | description: "Disable automatic publishing before building", |
| 128 | args: { |
| 129 | name: "boolean", |
| 130 | }, |
| 131 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/skip.png", |
| 132 | }, |
| 133 | { |
| 134 | name: "--no-wait", |
| 135 | description: "Exit immediately after scheduling build", |
| 136 | args: { |
| 137 | name: "boolean", |
| 138 | }, |
| 139 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/skip.png", |
| 140 | }, |
| 141 | { |
| 142 | name: "--team-id", |
| 143 | description: "Apple Team ID", |
| 144 | args: { |
| 145 | name: "boolean", |
| 146 | }, |
| 147 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png", |
| 148 | }, |
| 149 | { |
| 150 | name: "--dist-p12-path", |
| 151 | description: |
| 152 | "Path to your Distribution Certificate P12 (set password as EXPO_IOS_DIST_P12_PASSWORD environment variable)", |
| 153 | args: { |
| 154 | name: "path", |
| 155 | isOptional: false, |
| 156 | template: "filepaths", |
| 157 | }, |
| 158 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/path.png", |
| 159 | }, |
| 160 | { |
| 161 | name: "--push-id", |
| 162 | description: "Push Key ID (ex: 123AB4C56D)", |
| 163 | args: { |
| 164 | name: "boolean", |
| 165 | }, |
| 166 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png", |
| 167 | }, |
| 168 | { |
| 169 | name: "--push-p8-path", |
| 170 | description: "Path to your Push Key .p8 file", |
| 171 | args: { |
| 172 | name: "path", |
| 173 | isOptional: false, |
| 174 | template: "filepaths", |
| 175 | }, |
| 176 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/path.png", |
| 177 | }, |
| 178 | { |
| 179 | name: "--provisioning-profile-path", |
| 180 | description: "Path to your Provisioning Profile", |
| 181 | args: { |
| 182 | name: "path", |
| 183 | isOptional: false, |
| 184 | template: "filepaths", |
| 185 | }, |
| 186 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/path.png", |
| 187 | }, |
| 188 | { |
| 189 | name: "--public-url", |
| 190 | description: "The URL of an externally hosted manifest (for self-hosted apps)", |
| 191 | args: { |
| 192 | name: "url", |
| 193 | isOptional: false, |
| 194 | }, |
| 195 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png", |
| 196 | }, |
| 197 | { |
| 198 | name: "--skip-credentials-check", |
| 199 | description: "Skip checking credentials", |
| 200 | args: { |
| 201 | name: "boolean", |
| 202 | }, |
| 203 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/skip.png", |
| 204 | }, |
| 205 | { |
| 206 | name: "--skip-workflow-check", |
| 207 | description: "Skip warning about build service bare workflow limitations", |
| 208 | args: { |
| 209 | name: "boolean", |
| 210 | }, |
| 211 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/skip.png", |
| 212 | }, |
| 213 | { |
| 214 | name: "--config", |
| 215 | description: "Deprecated: Use app.config.js to switch config files instead", |
| 216 | args: { |
| 217 | name: "file", |
| 218 | isOptional: true, |
| 219 | template: "filepaths", |
| 220 | }, |
| 221 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png", |
| 222 | priority: 2, |
| 223 | }, |
| 224 | ], |
| 225 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/apple.png", |
| 226 | }, |
| 227 | { |
| 228 | name: ["build:android", "ba"], |
| 229 | hidden: false, |
| 230 | description: "Build and sign a standalone APK or App Bundle for the Google Play Store", |
| 231 | priority: 59, |
| 232 | args: { |
| 233 | isOptional: true, |
| 234 | template: "folders", |
| 235 | name: "path", |
| 236 | }, |
| 237 | options: [ |
| 238 | { |
| 239 | name: ["-h", "--help"], |
| 240 | priority: 1, |
| 241 | description: "Output usage information", |
| 242 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png", |
| 243 | }, |
| 244 | { |
| 245 | name: ["-c", "--clear-credentials"], |
| 246 | description: "Clear stored credentials", |
| 247 | args: { |
| 248 | name: "boolean", |
| 249 | }, |
| 250 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/clear.png", |
| 251 | }, |
| 252 | { |
| 253 | name: "--release-channel", |
| 254 | description: "Pull from specified release channel", |
| 255 | args: { |
| 256 | name: "name", |
| 257 | isOptional: false, |
| 258 | }, |
| 259 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png", |
| 260 | }, |
| 261 | { |
| 262 | name: "--no-publish", |
| 263 | description: "Disable automatic publishing before building", |
| 264 | args: { |
| 265 | name: "boolean", |
| 266 | }, |
| 267 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/skip.png", |
| 268 | }, |
| 269 | { |
| 270 | name: "--no-wait", |
| 271 | description: "Exit immediately after triggering build", |
| 272 | args: { |
| 273 | name: "boolean", |
| 274 | }, |
| 275 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/skip.png", |
| 276 | }, |
| 277 | { |
| 278 | name: "--keystore-path", |
| 279 | description: "Path to your Keystore: *.jks", |
| 280 | args: { |
| 281 | name: "path", |
| 282 | isOptional: false, |
| 283 | template: "filepaths", |
| 284 | }, |
| 285 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/key.png", |
| 286 | }, |
| 287 | { |
| 288 | name: "--keystore-alias", |
| 289 | description: "Keystore Alias", |
| 290 | args: { |
| 291 | name: "alias", |
| 292 | isOptional: false, |
| 293 | }, |
| 294 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/key.png", |
| 295 | }, |
| 296 | { |
| 297 | name: "--generate-keystore", |
| 298 | description: "[deprecated] Generate Keystore if one does not exist", |
| 299 | args: { |
| 300 | name: "boolean", |
| 301 | }, |
| 302 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/key.png", |
| 303 | }, |
| 304 | { |
| 305 | name: "--public-url", |
| 306 | description: "The URL of an externally hosted manifest (for self-hosted apps)", |
| 307 | args: { |
| 308 | name: "url", |
| 309 | isOptional: false, |
| 310 | }, |
| 311 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png", |
| 312 | }, |
| 313 | { |
| 314 | name: "--skip-workflow-check", |
| 315 | description: "Skip warning about build service bare workflow limitations", |
| 316 | args: { |
| 317 | name: "boolean", |
| 318 | }, |
| 319 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/skip.png", |
| 320 | }, |
| 321 | { |
| 322 | name: ["-t", "--type"], |
| 323 | description: "Type of build: [app-bundle|apk]", |
| 324 | args: { |
| 325 | name: "boolean", |
| 326 | }, |
| 327 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png", |
| 328 | }, |
| 329 | { |
| 330 | name: "--config", |
| 331 | description: "Deprecated: Use app.config.js to switch config files instead", |
| 332 | args: { |
| 333 | name: "file", |
| 334 | isOptional: true, |
| 335 | template: "filepaths", |
| 336 | }, |
| 337 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png", |
| 338 | priority: 2, |
| 339 | }, |
| 340 | ], |
| 341 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/android.png", |
| 342 | }, |
| 343 | { |
| 344 | name: "build:web", |
| 345 | hidden: false, |
| 346 | description: "Build the web app for production", |
| 347 | priority: 59, |
| 348 | args: { |
| 349 | isOptional: true, |
| 350 | template: "folders", |
| 351 | name: "path", |
| 352 | }, |
| 353 | options: [ |
| 354 | { |
| 355 | name: ["-h", "--help"], |
| 356 | priority: 1, |
| 357 | description: "Output usage information", |
| 358 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png", |
| 359 | }, |
| 360 | { |
| 361 | name: ["-c", "--clear"], |
| 362 | description: "Clear all cached build files and assets", |
| 363 | args: { |
| 364 | name: "boolean", |
| 365 | }, |
| 366 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/clear.png", |
| 367 | }, |
| 368 | { |
| 369 | name: "--no-pwa", |
| 370 | description: |
| 371 | "Prevent webpack from generating the manifest.json and injecting meta into the index.html head", |
| 372 | args: { |
| 373 | name: "boolean", |
| 374 | }, |
| 375 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/skip.png", |
| 376 | }, |
| 377 | { |
| 378 | name: ["-d", "--dev"], |
| 379 | description: "Turns dev flag on before bundling", |
| 380 | args: { |
| 381 | name: "boolean", |
| 382 | }, |
| 383 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/dev.png", |
| 384 | }, |
| 385 | { |
| 386 | name: "--config", |
| 387 | description: "Deprecated: Use app.config.js to switch config files instead", |
| 388 | args: { |
| 389 | name: "file", |
| 390 | isOptional: true, |
| 391 | template: "filepaths", |
| 392 | }, |
| 393 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png", |
| 394 | priority: 2, |
| 395 | }, |
| 396 | ], |
| 397 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/webpack.png", |
| 398 | }, |
| 399 | { |
| 400 | name: ["build:status", "bs"], |
| 401 | hidden: false, |
| 402 | description: "Get the status of the latest build for the project", |
| 403 | priority: 59, |
| 404 | args: { |
| 405 | isOptional: true, |
| 406 | template: "folders", |
| 407 | name: "path", |
| 408 | }, |
| 409 | options: [ |
| 410 | { |
| 411 | name: ["-h", "--help"], |
| 412 | priority: 1, |
| 413 | description: "Output usage information", |
| 414 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png", |
| 415 | }, |
| 416 | { |
| 417 | name: "--public-url", |
| 418 | description: "The URL of an externally hosted manifest (for self-hosted apps)", |
| 419 | args: { |
| 420 | name: "url", |
| 421 | isOptional: false, |
| 422 | }, |
| 423 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png", |
| 424 | }, |
| 425 | { |
| 426 | name: "--config", |
| 427 | description: "Deprecated: Use app.config.js to switch config files instead", |
| 428 | args: { |
| 429 | name: "file", |
| 430 | isOptional: true, |
| 431 | template: "filepaths", |
| 432 | }, |
| 433 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png", |
| 434 | priority: 2, |
| 435 | }, |
| 436 | ], |
| 437 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/info.png", |
| 438 | }, |
| 439 | { |
| 440 | name: "bundle-assets", |
| 441 | hidden: true, |
| 442 | description: |
| 443 | "Bundle assets for a detached app. This command should be executed from xcode or gradle", |
| 444 | priority: 51, |
| 445 | args: { |
| 446 | isOptional: true, |
| 447 | template: "folders", |
| 448 | name: "path", |
| 449 | }, |
| 450 | options: [ |
| 451 | { |
| 452 | name: ["-h", "--help"], |
| 453 | priority: 1, |
| 454 | description: "Output usage information", |
| 455 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png", |
| 456 | }, |
| 457 | { |
| 458 | name: "--dest", |
| 459 | description: "Destination directory for assets", |
| 460 | args: { |
| 461 | name: "dest", |
| 462 | isOptional: true, |
| 463 | }, |
| 464 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png", |
| 465 | }, |
| 466 | { |
| 467 | name: "--platform", |
| 468 | description: "Detached project platform", |
| 469 | args: { |
| 470 | name: "platform", |
| 471 | isOptional: false, |
| 472 | suggestions: [ |
| 473 | { |
| 474 | name: "android", |
| 475 | icon: |
| 476 | "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/android.png", |
| 477 | }, |
| 478 | { |
| 479 | name: "ios", |
| 480 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/apple.png", |
| 481 | }, |
| 482 | ], |
| 483 | }, |
| 484 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/devices.png", |
| 485 | }, |
| 486 | { |
| 487 | name: "--config", |
| 488 | description: "Deprecated: Use app.config.js to switch config files instead", |
| 489 | args: { |
| 490 | name: "file", |
| 491 | isOptional: true, |
| 492 | template: "filepaths", |
| 493 | }, |
| 494 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png", |
| 495 | priority: 2, |
| 496 | }, |
| 497 | ], |
| 498 | }, |
| 499 | { |
| 500 | name: "client:ios", |
| 501 | hidden: false, |
| 502 | description: |
| 503 | "Experimental: build a custom version of Expo Go for iOS using your own Apple credentials", |
| 504 | priority: 52, |
| 505 | args: { |
| 506 | isOptional: true, |
| 507 | template: "folders", |
| 508 | name: "path", |
| 509 | }, |
| 510 | options: [ |
| 511 | { |
| 512 | name: ["-h", "--help"], |
| 513 | priority: 1, |
| 514 | description: "Output usage information", |
| 515 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png", |
| 516 | }, |
| 517 | { |
| 518 | name: "--apple-id", |
| 519 | description: |
| 520 | "Apple ID username (please also set the Apple ID password as EXPO_APPLE_PASSWORD environment variable)", |
| 521 | args: { |
| 522 | name: "login", |
| 523 | isOptional: false, |
| 524 | }, |
| 525 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/apple.png", |
| 526 | }, |
| 527 | { |
| 528 | name: "--config", |
| 529 | description: "Deprecated: Use app.config.js to switch config files instead", |
| 530 | args: { |
| 531 | name: "file", |
| 532 | isOptional: true, |
| 533 | template: "filepaths", |
| 534 | }, |
| 535 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png", |
| 536 | priority: 2, |
| 537 | }, |
| 538 | ], |
| 539 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/download.png", |
| 540 | }, |
| 541 | { |
| 542 | name: "client:install:ios", |
| 543 | hidden: false, |
| 544 | description: "Install Expo Go for iOS on the simulator", |
| 545 | priority: 62, |
| 546 | options: [ |
| 547 | { |
| 548 | name: ["-h", "--help"], |
| 549 | priority: 1, |
| 550 | description: "Output usage information", |
| 551 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png", |
| 552 | }, |
| 553 | { |
| 554 | name: "--latest", |
| 555 | description: |
| 556 | "Install the latest version of Expo Go, ignoring the current project version", |
| 557 | args: { |
| 558 | name: "boolean", |
| 559 | }, |
| 560 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/latest.png", |
| 561 | }, |
| 562 | ], |
| 563 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/apple.png", |
| 564 | }, |
| 565 | { |
| 566 | name: "client:install:android", |
| 567 | hidden: false, |
| 568 | description: "Install Expo Go for Android on a connected device or emulator", |
| 569 | priority: 62, |
| 570 | options: [ |
| 571 | { |
| 572 | name: ["-h", "--help"], |
| 573 | priority: 1, |
| 574 | description: "Output usage information", |
| 575 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png", |
| 576 | }, |
| 577 | { |
| 578 | name: ["-d", "--device"], |
| 579 | description: "Device name to install the client on", |
| 580 | args: { |
| 581 | name: "device", |
| 582 | isOptional: true, |
| 583 | }, |
| 584 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/devices.png", |
| 585 | }, |
| 586 | { |
| 587 | name: "--latest", |
| 588 | description: "Install the latest version of Expo Go, ignore the current project version", |
| 589 | args: { |
| 590 | name: "boolean", |
| 591 | }, |
| 592 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/latest.png", |
| 593 | }, |
| 594 | ], |
| 595 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/android.png", |
| 596 | }, |
| 597 | { |
| 598 | name: "config", |
| 599 | hidden: false, |
| 600 | description: "Show the project config", |
| 601 | priority: 61, |
| 602 | args: { |
| 603 | isOptional: true, |
| 604 | template: "folders", |
| 605 | name: "path", |
| 606 | }, |
| 607 | options: [ |
| 608 | { |
| 609 | name: ["-h", "--help"], |
| 610 | priority: 1, |
| 611 | description: "Output usage information", |
| 612 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png", |
| 613 | }, |
| 614 | { |
| 615 | name: ["-t", "--type"], |
| 616 | description: "Type of config to show", |
| 617 | args: { |
| 618 | name: "public|prebuild|introspect", |
| 619 | isOptional: false, |
| 620 | suggestions: [ |
| 621 | { |
| 622 | name: "public", |
| 623 | }, |
| 624 | { |
| 625 | name: "prebuild", |
| 626 | }, |
| 627 | { |
| 628 | name: "introspect", |
| 629 | }, |
| 630 | ], |
| 631 | }, |
| 632 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png", |
| 633 | }, |
| 634 | { |
| 635 | name: "--full", |
| 636 | description: "Include all project config data", |
| 637 | args: { |
| 638 | name: "boolean", |
| 639 | }, |
| 640 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png", |
| 641 | }, |
| 642 | { |
| 643 | name: "--config", |
| 644 | description: "Deprecated: Use app.config.js to switch config files instead", |
| 645 | args: { |
| 646 | name: "file", |
| 647 | isOptional: true, |
| 648 | template: "filepaths", |
| 649 | }, |
| 650 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png", |
| 651 | priority: 2, |
| 652 | }, |
| 653 | ], |
| 654 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/config.png", |
| 655 | }, |
| 656 | { |
| 657 | name: "credentials:manager", |
| 658 | hidden: false, |
| 659 | description: "Manage your credentials", |
| 660 | priority: 58, |
| 661 | args: { |
| 662 | isOptional: true, |
| 663 | template: "folders", |
| 664 | name: "path", |
| 665 | }, |
| 666 | options: [ |
| 667 | { |
| 668 | name: ["-h", "--help"], |
| 669 | priority: 1, |
| 670 | description: "Output usage information", |
| 671 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png", |
| 672 | }, |
| 673 | { |
| 674 | name: ["-p", "--platform"], |
| 675 | description: "Platform: [android|ios]", |
| 676 | args: { |
| 677 | name: "platform", |
| 678 | isOptional: false, |
| 679 | suggestions: [ |
| 680 | { |
| 681 | name: "android", |
| 682 | icon: |
| 683 | "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/android.png", |
| 684 | }, |
| 685 | { |
| 686 | name: "ios", |
| 687 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/apple.png", |
| 688 | }, |
| 689 | ], |
| 690 | }, |
| 691 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/devices.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/list.png", |
| 706 | }, |
| 707 | { |
| 708 | name: "customize:web", |
| 709 | hidden: false, |
| 710 | description: "Eject the default web files for customization", |
| 711 | priority: 53, |
| 712 | args: { |
| 713 | isOptional: true, |
| 714 | template: "folders", |
| 715 | name: "path", |
| 716 | }, |
| 717 | options: [ |
| 718 | { |
| 719 | name: ["-h", "--help"], |
| 720 | priority: 1, |
| 721 | description: "Output usage information", |
| 722 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png", |
| 723 | }, |
| 724 | { |
| 725 | name: ["-f", "--force"], |
| 726 | description: "Allows replacing existing files", |
| 727 | args: { |
| 728 | name: "boolean", |
| 729 | }, |
| 730 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/force.png", |
| 731 | }, |
| 732 | { |
| 733 | name: "--offline", |
| 734 | description: "Allows this command to run while offline", |
| 735 | args: { |
| 736 | name: "boolean", |
| 737 | }, |
| 738 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/offline.png", |
| 739 | }, |
| 740 | { |
| 741 | name: "--config", |
| 742 | description: "Deprecated: Use app.config.js to switch config files instead", |
| 743 | args: { |
| 744 | name: "file", |
| 745 | isOptional: true, |
| 746 | template: "filepaths", |
| 747 | }, |
| 748 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png", |
| 749 | priority: 2, |
| 750 | }, |
| 751 | ], |
| 752 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/customize.png", |
| 753 | }, |
| 754 | { |
| 755 | name: "diagnostics", |
| 756 | hidden: false, |
| 757 | description: "Log environment info to the console", |
| 758 | priority: 61, |
| 759 | args: { |
| 760 | isOptional: true, |
| 761 | template: "folders", |
| 762 | name: "path", |
| 763 | }, |
| 764 | options: [ |
| 765 | { |
| 766 | name: ["-h", "--help"], |
| 767 | priority: 1, |
| 768 | description: "Output usage information", |
| 769 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png", |
| 770 | }, |
| 771 | { |
| 772 | name: "--config", |
| 773 | description: "Deprecated: Use app.config.js to switch config files instead", |
| 774 | args: { |
| 775 | name: "file", |
| 776 | isOptional: true, |
| 777 | template: "filepaths", |
| 778 | }, |
| 779 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png", |
| 780 | priority: 2, |
| 781 | }, |
| 782 | ], |
| 783 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/diagnostics.png", |
| 784 | }, |
| 785 | { |
| 786 | name: "doctor", |
| 787 | hidden: false, |
| 788 | description: "Diagnose issues with the project", |
| 789 | priority: 61, |
| 790 | args: { |
| 791 | isOptional: true, |
| 792 | template: "folders", |
| 793 | name: "path", |
| 794 | }, |
| 795 | options: [ |
| 796 | { |
| 797 | name: ["-h", "--help"], |
| 798 | priority: 1, |
| 799 | description: "Output usage information", |
| 800 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png", |
| 801 | }, |
| 802 | { |
| 803 | name: "--config", |
| 804 | description: "Deprecated: Use app.config.js to switch config files instead", |
| 805 | args: { |
| 806 | name: "file", |
| 807 | isOptional: true, |
| 808 | template: "filepaths", |
| 809 | }, |
| 810 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png", |
| 811 | priority: 2, |
| 812 | }, |
| 813 | ], |
| 814 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/doctor.png", |
| 815 | }, |
| 816 | { |
| 817 | name: "eject", |
| 818 | hidden: false, |
| 819 | description: |
| 820 | "Create native iOS and Android project files. Learn more: https://docs.expo.dev/workflow/customizing/", |
| 821 | priority: 53, |
| 822 | args: { |
| 823 | isOptional: true, |
| 824 | template: "folders", |
| 825 | name: "path", |
| 826 | }, |
| 827 | options: [ |
| 828 | { |
| 829 | name: ["-h", "--help"], |
| 830 | priority: 1, |
| 831 | description: "Output usage information", |
| 832 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png", |
| 833 | }, |
| 834 | { |
| 835 | name: "--no-install", |
| 836 | description: "Skip installing npm packages and CocoaPods", |
| 837 | args: { |
| 838 | name: "boolean", |
| 839 | }, |
| 840 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/skip.png", |
| 841 | }, |
| 842 | { |
| 843 | name: "--npm", |
| 844 | description: "Use npm to install dependencies. (default when Yarn is not installed)", |
| 845 | args: { |
| 846 | name: "boolean", |
| 847 | }, |
| 848 | icon: "fig://icon?type=npm", |
| 849 | }, |
| 850 | { |
| 851 | name: ["-p", "--platform"], |
| 852 | description: "Platforms to sync: ios, android, all. Default: all", |
| 853 | args: { |
| 854 | name: "platform", |
| 855 | isOptional: false, |
| 856 | suggestions: [ |
| 857 | { |
| 858 | name: "all", |
| 859 | }, |
| 860 | { |
| 861 | name: "android", |
| 862 | icon: |
| 863 | "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/android.png", |
| 864 | }, |
| 865 | { |
| 866 | name: "ios", |
| 867 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/apple.png", |
| 868 | }, |
| 869 | ], |
| 870 | }, |
| 871 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/devices.png", |
| 872 | }, |
| 873 | { |
| 874 | name: "--config", |
| 875 | description: "Deprecated: Use app.config.js to switch config files instead", |
| 876 | args: { |
| 877 | name: "file", |
| 878 | isOptional: true, |
| 879 | template: "filepaths", |
| 880 | }, |
| 881 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png", |
| 882 | priority: 2, |
| 883 | }, |
| 884 | ], |
| 885 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/eject.png", |
| 886 | }, |
| 887 | { |
| 888 | name: "export", |
| 889 | hidden: false, |
| 890 | description: "Export the static files of the app for hosting it on a web server", |
| 891 | priority: 64, |
| 892 | args: { |
| 893 | isOptional: true, |
| 894 | template: "folders", |
| 895 | name: "path", |
| 896 | }, |
| 897 | options: [ |
| 898 | { |
| 899 | name: ["-h", "--help"], |
| 900 | priority: 1, |
| 901 | description: "Output usage information", |
| 902 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png", |
| 903 | }, |
| 904 | { |
| 905 | name: "--platform", |
| 906 | description: "Platforms: android, ios, all", |
| 907 | args: { |
| 908 | name: "platform", |
| 909 | isOptional: false, |
| 910 | suggestions: [ |
| 911 | { |
| 912 | name: "all", |
| 913 | }, |
| 914 | { |
| 915 | name: "android", |
| 916 | icon: |
| 917 | "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/android.png", |
| 918 | }, |
| 919 | { |
| 920 | name: "ios", |
| 921 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/apple.png", |
| 922 | }, |
| 923 | ], |
| 924 | }, |
| 925 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/devices.png", |
| 926 | }, |
| 927 | { |
| 928 | name: ["-p", "--public-url"], |
| 929 | description: "The public url that will host the static files (required)", |
| 930 | args: { |
| 931 | name: "url", |
| 932 | isOptional: false, |
| 933 | }, |
| 934 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png", |
| 935 | }, |
| 936 | { |
| 937 | name: ["-c", "--clear"], |
| 938 | description: "Clear the Metro bundler cache", |
| 939 | args: { |
| 940 | name: "boolean", |
| 941 | }, |
| 942 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/clear.png", |
| 943 | }, |
| 944 | { |
| 945 | name: "--output-dir", |
| 946 | description: "The directory to export the static files to", |
| 947 | args: { |
| 948 | name: "dir", |
| 949 | isOptional: false, |
| 950 | template: "folders", |
| 951 | }, |
| 952 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/path.png", |
| 953 | }, |
| 954 | { |
| 955 | name: ["-a", "--asset-url"], |
| 956 | description: "The absolute or relative url that will host the asset files", |
| 957 | args: { |
| 958 | name: "url", |
| 959 | isOptional: false, |
| 960 | }, |
| 961 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png", |
| 962 | }, |
| 963 | { |
| 964 | name: ["-d", "--dump-assetmap"], |
| 965 | description: "Dump the asset map for further processing", |
| 966 | args: { |
| 967 | name: "boolean", |
| 968 | }, |
| 969 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/export.png", |
| 970 | }, |
| 971 | { |
| 972 | name: "--dev", |
| 973 | description: "Configure static files for developing locally using a non-https server", |
| 974 | args: { |
| 975 | name: "boolean", |
| 976 | }, |
| 977 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/dev.png", |
| 978 | }, |
| 979 | { |
| 980 | name: ["-s", "--dump-sourcemap"], |
| 981 | description: "Dump the source map for debugging the JS bundle", |
| 982 | args: { |
| 983 | name: "boolean", |
| 984 | }, |
| 985 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/export.png", |
| 986 | }, |
| 987 | { |
| 988 | name: ["-q", "--quiet"], |
| 989 | description: "Suppress verbose output", |
| 990 | args: { |
| 991 | name: "boolean", |
| 992 | }, |
| 993 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/quiet.png", |
| 994 | }, |
| 995 | { |
| 996 | name: ["-t", "--target"], |
| 997 | description: "Target environment for which this export is intended", |
| 998 | args: { |
| 999 | name: "managed|bare", |
| 1000 | isOptional: false, |
| 1001 | suggestions: [ |
| 1002 | { |
| 1003 | name: "managed", |
| 1004 | }, |
| 1005 | { |
| 1006 | name: "bare", |
| 1007 | }, |
| 1008 | ], |
| 1009 | }, |
| 1010 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png", |
| 1011 | priority: 2, |
| 1012 | }, |
| 1013 | { |
| 1014 | name: "--merge-src-dir", |
| 1015 | description: "A repeatable source dir to merge in", |
| 1016 | args: { |
| 1017 | name: "dir", |
| 1018 | isOptional: false, |
| 1019 | template: "folders", |
| 1020 | }, |
| 1021 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/path.png", |
| 1022 | }, |
| 1023 | { |
| 1024 | name: "--merge-src-url", |
| 1025 | description: "A repeatable source tar.gz file URL to merge in", |
| 1026 | args: { |
| 1027 | name: "url", |
| 1028 | isOptional: false, |
| 1029 | }, |
| 1030 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png", |
| 1031 | }, |
| 1032 | { |
| 1033 | name: "--max-workers", |
| 1034 | description: "Maximum number of tasks to allow Metro to spawn", |
| 1035 | args: { |
| 1036 | name: "Number of workers", |
| 1037 | isOptional: false, |
| 1038 | }, |
| 1039 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/number.png", |
| 1040 | }, |
| 1041 | { |
| 1042 | name: "--experimental-bundle", |
| 1043 | description: "Export bundles for use with EAS updates", |
| 1044 | args: { |
| 1045 | name: "boolean", |
| 1046 | }, |
| 1047 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.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/export.png", |
| 1062 | }, |
| 1063 | { |
| 1064 | name: "fetch:ios:certs", |
| 1065 | hidden: false, |
| 1066 | description: "Download the project's iOS standalone app signing credentials", |
| 1067 | priority: 58, |
| 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/apple.png", |
| 1093 | }, |
| 1094 | { |
| 1095 | name: "fetch:android:keystore", |
| 1096 | hidden: false, |
| 1097 | description: "Download the project's Android keystore", |
| 1098 | priority: 58, |
| 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/android.png", |
| 1124 | }, |
| 1125 | { |
| 1126 | name: "fetch:android:hashes", |
| 1127 | hidden: false, |
| 1128 | description: "Compute and log the project's Android key hashes", |
| 1129 | priority: 58, |
| 1130 | args: { |
| 1131 | isOptional: true, |
| 1132 | template: "folders", |
| 1133 | name: "path", |
| 1134 | }, |
| 1135 | options: [ |
| 1136 | { |
| 1137 | name: ["-h", "--help"], |
| 1138 | priority: 1, |
| 1139 | description: "Output usage information", |
| 1140 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png", |
| 1141 | }, |
| 1142 | { |
| 1143 | name: "--config", |
| 1144 | description: "Deprecated: Use app.config.js to switch config files instead", |
| 1145 | args: { |
| 1146 | name: "file", |
| 1147 | isOptional: true, |
| 1148 | template: "filepaths", |
| 1149 | }, |
| 1150 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png", |
| 1151 | priority: 2, |
| 1152 | }, |
| 1153 | ], |
| 1154 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/android.png", |
| 1155 | }, |
| 1156 | { |
| 1157 | name: "fetch:android:upload-cert", |
| 1158 | hidden: false, |
| 1159 | description: "Download the project's Android keystore", |
| 1160 | priority: 58, |
| 1161 | args: { |
| 1162 | isOptional: true, |
| 1163 | template: "folders", |
| 1164 | name: "path", |
| 1165 | }, |
| 1166 | options: [ |
| 1167 | { |
| 1168 | name: ["-h", "--help"], |
| 1169 | priority: 1, |
| 1170 | description: "Output usage information", |
| 1171 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png", |
| 1172 | }, |
| 1173 | { |
| 1174 | name: "--config", |
| 1175 | description: "Deprecated: Use app.config.js to switch config files instead", |
| 1176 | args: { |
| 1177 | name: "file", |
| 1178 | isOptional: true, |
| 1179 | template: "filepaths", |
| 1180 | }, |
| 1181 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png", |
| 1182 | priority: 2, |
| 1183 | }, |
| 1184 | ], |
| 1185 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/android.png", |
| 1186 | }, |
| 1187 | { |
| 1188 | name: ["init", "i"], |
| 1189 | hidden: false, |
| 1190 | description: "Create a new Expo project", |
| 1191 | priority: 64, |
| 1192 | args: { |
| 1193 | isOptional: true, |
| 1194 | name: "name", |
| 1195 | }, |
| 1196 | options: [ |
| 1197 | { |
| 1198 | name: ["-h", "--help"], |
| 1199 | priority: 1, |
| 1200 | description: "Output usage information", |
| 1201 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png", |
| 1202 | }, |
| 1203 | { |
| 1204 | name: ["-t", "--template"], |
| 1205 | description: |
| 1206 | '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', |
| 1207 | args: { |
| 1208 | name: "name", |
| 1209 | isOptional: true, |
| 1210 | }, |
| 1211 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/export.png", |
| 1212 | }, |
| 1213 | { |
| 1214 | name: "--npm", |
| 1215 | description: "Use npm to install dependencies. (default when Yarn is not installed)", |
| 1216 | args: { |
| 1217 | name: "boolean", |
| 1218 | }, |
| 1219 | icon: "fig://icon?type=npm", |
| 1220 | }, |
| 1221 | { |
| 1222 | name: "--yarn", |
| 1223 | description: "Use Yarn to install dependencies. (default when Yarn is installed)", |
| 1224 | args: { |
| 1225 | name: "boolean", |
| 1226 | }, |
| 1227 | icon: "fig://icon?type=yarn", |
| 1228 | }, |
| 1229 | { |
| 1230 | name: "--no-install", |
| 1231 | description: "Skip installing npm packages or CocoaPods", |
| 1232 | args: { |
| 1233 | name: "boolean", |
| 1234 | }, |
| 1235 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/skip.png", |
| 1236 | }, |
| 1237 | { |
| 1238 | name: "--name", |
| 1239 | description: "The name of your app visible on the home screen", |
| 1240 | args: { |
| 1241 | name: "name", |
| 1242 | isOptional: true, |
| 1243 | }, |
| 1244 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png", |
| 1245 | }, |
| 1246 | { |
| 1247 | name: "--yes", |
| 1248 | description: 'Use default options. Same as "expo init . --template blank', |
| 1249 | args: { |
| 1250 | name: "boolean", |
| 1251 | }, |
| 1252 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/true.png", |
| 1253 | }, |
| 1254 | ], |
| 1255 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/init.png", |
| 1256 | }, |
| 1257 | { |
| 1258 | name: ["install", "add"], |
| 1259 | hidden: false, |
| 1260 | description: "Install a unimodule or other package to a project", |
| 1261 | priority: 64, |
| 1262 | args: { |
| 1263 | isOptional: true, |
| 1264 | isVariadic: true, |
| 1265 | name: "packages", |
| 1266 | debounce: true, |
| 1267 | }, |
| 1268 | options: [ |
| 1269 | { |
| 1270 | name: ["-h", "--help"], |
| 1271 | priority: 1, |
| 1272 | description: "Output usage information", |
| 1273 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png", |
| 1274 | }, |
| 1275 | { |
| 1276 | name: "--npm", |
| 1277 | description: "Use npm to install dependencies. (default when package-lock.json exists)", |
| 1278 | args: { |
| 1279 | name: "boolean", |
| 1280 | }, |
| 1281 | icon: "fig://icon?type=npm", |
| 1282 | }, |
| 1283 | { |
| 1284 | name: "--yarn", |
| 1285 | description: "Use Yarn to install dependencies. (default when yarn.lock exists)", |
| 1286 | args: { |
| 1287 | name: "boolean", |
| 1288 | }, |
| 1289 | icon: "fig://icon?type=yarn", |
| 1290 | }, |
| 1291 | ], |
| 1292 | icon: "fig://icon?type=npm", |
| 1293 | }, |
| 1294 | { |
| 1295 | name: ["login", "signin"], |
| 1296 | hidden: false, |
| 1297 | description: "Login to an Expo account", |
| 1298 | priority: 63, |
| 1299 | options: [ |
| 1300 | { |
| 1301 | name: ["-h", "--help"], |
| 1302 | priority: 1, |
| 1303 | description: "Output usage information", |
| 1304 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png", |
| 1305 | }, |
| 1306 | { |
| 1307 | name: ["-u", "--username"], |
| 1308 | description: "Username", |
| 1309 | args: { |
| 1310 | name: "string", |
| 1311 | isOptional: true, |
| 1312 | }, |
| 1313 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png", |
| 1314 | }, |
| 1315 | { |
| 1316 | name: ["-p", "--password"], |
| 1317 | description: "Password", |
| 1318 | args: { |
| 1319 | name: "string", |
| 1320 | isOptional: true, |
| 1321 | }, |
| 1322 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png", |
| 1323 | }, |
| 1324 | { |
| 1325 | name: "--otp", |
| 1326 | description: "One-time password from your 2FA device", |
| 1327 | args: { |
| 1328 | name: "string", |
| 1329 | isOptional: true, |
| 1330 | }, |
| 1331 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png", |
| 1332 | }, |
| 1333 | ], |
| 1334 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/login.png", |
| 1335 | }, |
| 1336 | { |
| 1337 | name: "logout", |
| 1338 | hidden: false, |
| 1339 | description: "Logout of an Expo account", |
| 1340 | priority: 63, |
| 1341 | options: [ |
| 1342 | { |
| 1343 | name: ["-h", "--help"], |
| 1344 | priority: 1, |
| 1345 | description: "Output usage information", |
| 1346 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png", |
| 1347 | }, |
| 1348 | ], |
| 1349 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/logout.png", |
| 1350 | }, |
| 1351 | { |
| 1352 | name: "prebuild", |
| 1353 | hidden: false, |
| 1354 | description: |
| 1355 | "Experimental: Create native iOS and Android project files before building natively. Learn more: https://docs.expo.dev/workflow/customizing/", |
| 1356 | priority: 53, |
| 1357 | args: { |
| 1358 | isOptional: true, |
| 1359 | template: "folders", |
| 1360 | name: "path", |
| 1361 | }, |
| 1362 | options: [ |
| 1363 | { |
| 1364 | name: ["-h", "--help"], |
| 1365 | priority: 1, |
| 1366 | description: "Output usage information", |
| 1367 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png", |
| 1368 | }, |
| 1369 | { |
| 1370 | name: "--no-install", |
| 1371 | description: "Skip installing npm packages and CocoaPods", |
| 1372 | args: { |
| 1373 | name: "boolean", |
| 1374 | }, |
| 1375 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/skip.png", |
| 1376 | }, |
| 1377 | { |
| 1378 | name: "--clean", |
| 1379 | description: "Delete the native folders and regenerate them before applying changes", |
| 1380 | args: { |
| 1381 | name: "boolean", |
| 1382 | }, |
| 1383 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/clear.png", |
| 1384 | }, |
| 1385 | { |
| 1386 | name: "--npm", |
| 1387 | description: "Use npm to install dependencies. (default when Yarn is not installed)", |
| 1388 | args: { |
| 1389 | name: "boolean", |
| 1390 | }, |
| 1391 | icon: "fig://icon?type=npm", |
| 1392 | }, |
| 1393 | { |
| 1394 | name: "--template", |
| 1395 | description: |
| 1396 | "Project template to clone from. File path pointing to a local tar file or a github repo", |
| 1397 | args: { |
| 1398 | name: "template", |
| 1399 | isOptional: false, |
| 1400 | }, |
| 1401 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/export.png", |
| 1402 | }, |
| 1403 | { |
| 1404 | name: ["-p", "--platform"], |
| 1405 | description: "Platforms to sync: ios, android, all. Default: all", |
| 1406 | args: { |
| 1407 | name: "platform", |
| 1408 | isOptional: false, |
| 1409 | suggestions: [ |
| 1410 | { |
| 1411 | name: "all", |
| 1412 | }, |
| 1413 | { |
| 1414 | name: "android", |
| 1415 | icon: |
| 1416 | "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/android.png", |
| 1417 | }, |
| 1418 | { |
| 1419 | name: "ios", |
| 1420 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/apple.png", |
| 1421 | }, |
| 1422 | ], |
| 1423 | }, |
| 1424 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/devices.png", |
| 1425 | }, |
| 1426 | { |
| 1427 | name: "--skip-dependency-update", |
| 1428 | description: |
| 1429 | "Preserves versions of listed packages in package.json (comma separated list)", |
| 1430 | args: { |
| 1431 | name: "dependencies", |
| 1432 | isOptional: false, |
| 1433 | }, |
| 1434 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/skip.png", |
| 1435 | }, |
| 1436 | { |
| 1437 | name: "--config", |
| 1438 | description: "Deprecated: Use app.config.js to switch config files instead", |
| 1439 | args: { |
| 1440 | name: "file", |
| 1441 | isOptional: true, |
| 1442 | template: "filepaths", |
| 1443 | }, |
| 1444 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png", |
| 1445 | priority: 2, |
| 1446 | }, |
| 1447 | ], |
| 1448 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/prebuild.png", |
| 1449 | }, |
| 1450 | { |
| 1451 | name: "prepare-detached-build", |
| 1452 | hidden: true, |
| 1453 | description: "Prepare a detached project for building", |
| 1454 | priority: 51, |
| 1455 | args: { |
| 1456 | isOptional: true, |
| 1457 | template: "folders", |
| 1458 | name: "path", |
| 1459 | }, |
| 1460 | options: [ |
| 1461 | { |
| 1462 | name: ["-h", "--help"], |
| 1463 | priority: 1, |
| 1464 | description: "Output usage information", |
| 1465 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png", |
| 1466 | }, |
| 1467 | { |
| 1468 | name: "--platform", |
| 1469 | description: "Detached project platform", |
| 1470 | args: { |
| 1471 | name: "platform", |
| 1472 | isOptional: false, |
| 1473 | suggestions: [ |
| 1474 | { |
| 1475 | name: "android", |
| 1476 | icon: |
| 1477 | "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/android.png", |
| 1478 | }, |
| 1479 | { |
| 1480 | name: "ios", |
| 1481 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/apple.png", |
| 1482 | }, |
| 1483 | ], |
| 1484 | }, |
| 1485 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/devices.png", |
| 1486 | }, |
| 1487 | { |
| 1488 | name: "--skipXcodeConfig", |
| 1489 | description: "[iOS only] if true, do not configure Xcode project", |
| 1490 | args: { |
| 1491 | name: "bool", |
| 1492 | isOptional: true, |
| 1493 | }, |
| 1494 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png", |
| 1495 | }, |
| 1496 | { |
| 1497 | name: "--config", |
| 1498 | description: "Deprecated: Use app.config.js to switch config files instead", |
| 1499 | args: { |
| 1500 | name: "file", |
| 1501 | isOptional: true, |
| 1502 | template: "filepaths", |
| 1503 | }, |
| 1504 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png", |
| 1505 | priority: 2, |
| 1506 | }, |
| 1507 | ], |
| 1508 | }, |
| 1509 | { |
| 1510 | name: ["publish", "p"], |
| 1511 | hidden: false, |
| 1512 | description: "Deploy a project to Expo hosting", |
| 1513 | priority: 64, |
| 1514 | args: { |
| 1515 | isOptional: true, |
| 1516 | template: "folders", |
| 1517 | name: "path", |
| 1518 | }, |
| 1519 | options: [ |
| 1520 | { |
| 1521 | name: ["-h", "--help"], |
| 1522 | priority: 1, |
| 1523 | description: "Output usage information", |
| 1524 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png", |
| 1525 | }, |
| 1526 | { |
| 1527 | name: ["-q", "--quiet"], |
| 1528 | description: "Suppress verbose output from the Metro bundler", |
| 1529 | args: { |
| 1530 | name: "boolean", |
| 1531 | }, |
| 1532 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/quiet.png", |
| 1533 | }, |
| 1534 | { |
| 1535 | name: ["-s", "--send-to"], |
| 1536 | description: "A phone number or email address to send a link to", |
| 1537 | args: { |
| 1538 | name: "dest", |
| 1539 | isOptional: true, |
| 1540 | }, |
| 1541 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/send.png", |
| 1542 | }, |
| 1543 | { |
| 1544 | name: ["-c", "--clear"], |
| 1545 | description: "Clear the Metro bundler cache", |
| 1546 | args: { |
| 1547 | name: "boolean", |
| 1548 | }, |
| 1549 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/clear.png", |
| 1550 | }, |
| 1551 | { |
| 1552 | name: ["-t", "--target"], |
| 1553 | description: |
| 1554 | "Target environment for which this publish is intended. Options are `managed` or `bare`", |
| 1555 | args: { |
| 1556 | name: "managed|bare", |
| 1557 | isOptional: false, |
| 1558 | suggestions: [ |
| 1559 | { |
| 1560 | name: "managed", |
| 1561 | }, |
| 1562 | { |
| 1563 | name: "bare", |
| 1564 | }, |
| 1565 | ], |
| 1566 | }, |
| 1567 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png", |
| 1568 | priority: 2, |
| 1569 | }, |
| 1570 | { |
| 1571 | name: "--max-workers", |
| 1572 | description: "Maximum number of tasks to allow Metro to spawn", |
| 1573 | args: { |
| 1574 | name: "Number of workers", |
| 1575 | isOptional: false, |
| 1576 | }, |
| 1577 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/number.png", |
| 1578 | }, |
| 1579 | { |
| 1580 | name: "--release-channel", |
| 1581 | description: "The release channel to publish to. Default is 'default'", |
| 1582 | args: { |
| 1583 | name: "name", |
| 1584 | isOptional: false, |
| 1585 | }, |
| 1586 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png", |
| 1587 | }, |
| 1588 | { |
| 1589 | name: "--config", |
| 1590 | description: "Deprecated: Use app.config.js to switch config files instead", |
| 1591 | args: { |
| 1592 | name: "file", |
| 1593 | isOptional: true, |
| 1594 | template: "filepaths", |
| 1595 | }, |
| 1596 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png", |
| 1597 | priority: 2, |
| 1598 | }, |
| 1599 | ], |
| 1600 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/publish.png", |
| 1601 | }, |
| 1602 | { |
| 1603 | name: ["publish:set", "ps"], |
| 1604 | hidden: false, |
| 1605 | description: "Specify the channel to serve a published release", |
| 1606 | priority: 60, |
| 1607 | args: { |
| 1608 | isOptional: true, |
| 1609 | template: "folders", |
| 1610 | name: "path", |
| 1611 | }, |
| 1612 | options: [ |
| 1613 | { |
| 1614 | name: ["-h", "--help"], |
| 1615 | priority: 1, |
| 1616 | description: "Output usage information", |
| 1617 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png", |
| 1618 | }, |
| 1619 | { |
| 1620 | name: ["-c", "--release-channel"], |
| 1621 | description: "The channel to set the published release. (Required)", |
| 1622 | args: { |
| 1623 | name: "name", |
| 1624 | isOptional: false, |
| 1625 | }, |
| 1626 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png", |
| 1627 | }, |
| 1628 | { |
| 1629 | name: ["-p", "--publish-id"], |
| 1630 | description: "The id of the published release to serve from the channel. (Required)", |
| 1631 | args: { |
| 1632 | name: "boolean", |
| 1633 | }, |
| 1634 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png", |
| 1635 | }, |
| 1636 | { |
| 1637 | name: "--config", |
| 1638 | description: "Deprecated: Use app.config.js to switch config files instead", |
| 1639 | args: { |
| 1640 | name: "file", |
| 1641 | isOptional: true, |
| 1642 | template: "filepaths", |
| 1643 | }, |
| 1644 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png", |
| 1645 | priority: 2, |
| 1646 | }, |
| 1647 | ], |
| 1648 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/publish.png", |
| 1649 | }, |
| 1650 | { |
| 1651 | name: ["publish:rollback", "pr"], |
| 1652 | hidden: false, |
| 1653 | description: "Undo an update to a channel", |
| 1654 | priority: 60, |
| 1655 | args: { |
| 1656 | isOptional: true, |
| 1657 | template: "folders", |
| 1658 | name: "path", |
| 1659 | }, |
| 1660 | options: [ |
| 1661 | { |
| 1662 | name: ["-h", "--help"], |
| 1663 | priority: 1, |
| 1664 | description: "Output usage information", |
| 1665 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png", |
| 1666 | }, |
| 1667 | { |
| 1668 | name: "--channel-id", |
| 1669 | description: "This flag is deprecated", |
| 1670 | args: { |
| 1671 | name: "boolean", |
| 1672 | }, |
| 1673 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png", |
| 1674 | }, |
| 1675 | { |
| 1676 | name: ["-c", "--release-channel"], |
| 1677 | description: "The channel to rollback from. (Required)", |
| 1678 | args: { |
| 1679 | name: "name", |
| 1680 | isOptional: false, |
| 1681 | }, |
| 1682 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png", |
| 1683 | }, |
| 1684 | { |
| 1685 | name: ["-s", "--sdk-version"], |
| 1686 | description: "The sdk version to rollback. (Required)", |
| 1687 | args: { |
| 1688 | name: "version", |
| 1689 | isOptional: false, |
| 1690 | }, |
| 1691 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/expo.png", |
| 1692 | }, |
| 1693 | { |
| 1694 | name: ["-p", "--platform"], |
| 1695 | description: "The platform to rollback", |
| 1696 | args: { |
| 1697 | name: "platform", |
| 1698 | isOptional: false, |
| 1699 | suggestions: [ |
| 1700 | { |
| 1701 | name: "android", |
| 1702 | icon: |
| 1703 | "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/android.png", |
| 1704 | }, |
| 1705 | { |
| 1706 | name: "ios", |
| 1707 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/apple.png", |
| 1708 | }, |
| 1709 | ], |
| 1710 | }, |
| 1711 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/devices.png", |
| 1712 | }, |
| 1713 | { |
| 1714 | name: "--config", |
| 1715 | description: "Deprecated: Use app.config.js to switch config files instead", |
| 1716 | args: { |
| 1717 | name: "file", |
| 1718 | isOptional: true, |
| 1719 | template: "filepaths", |
| 1720 | }, |
| 1721 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png", |
| 1722 | priority: 2, |
| 1723 | }, |
| 1724 | ], |
| 1725 | icon: |
| 1726 | "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/publish-rollback.png", |
| 1727 | }, |
| 1728 | { |
| 1729 | name: ["publish:history", "ph"], |
| 1730 | hidden: false, |
| 1731 | description: "Log the project's releases", |
| 1732 | priority: 60, |
| 1733 | args: { |
| 1734 | isOptional: true, |
| 1735 | template: "folders", |
| 1736 | name: "path", |
| 1737 | }, |
| 1738 | options: [ |
| 1739 | { |
| 1740 | name: ["-h", "--help"], |
| 1741 | priority: 1, |
| 1742 | description: "Output usage information", |
| 1743 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png", |
| 1744 | }, |
| 1745 | { |
| 1746 | name: ["-c", "--release-channel"], |
| 1747 | description: |
| 1748 | "Filter by release channel. If this flag is not included, the most recent publications will be shown", |
| 1749 | args: { |
| 1750 | name: "name", |
| 1751 | isOptional: false, |
| 1752 | }, |
| 1753 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png", |
| 1754 | }, |
| 1755 | { |
| 1756 | name: "--count", |
| 1757 | description: "Number of logs to view, maximum 100, default 5", |
| 1758 | args: { |
| 1759 | name: "boolean", |
| 1760 | }, |
| 1761 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/number.png", |
| 1762 | }, |
| 1763 | { |
| 1764 | name: ["-p", "--platform"], |
| 1765 | description: "Filter by platform, android or ios. Defaults to both platforms", |
| 1766 | args: { |
| 1767 | name: "platform", |
| 1768 | isOptional: false, |
| 1769 | suggestions: [ |
| 1770 | { |
| 1771 | name: "android", |
| 1772 | icon: |
| 1773 | "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/android.png", |
| 1774 | }, |
| 1775 | { |
| 1776 | name: "ios", |
| 1777 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/apple.png", |
| 1778 | }, |
| 1779 | ], |
| 1780 | }, |
| 1781 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/devices.png", |
| 1782 | }, |
| 1783 | { |
| 1784 | name: ["-s", "--sdk-version"], |
| 1785 | description: "Filter by SDK version e.g. 35.0.0", |
| 1786 | args: { |
| 1787 | name: "version", |
| 1788 | isOptional: false, |
| 1789 | }, |
| 1790 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/expo.png", |
| 1791 | }, |
| 1792 | { |
| 1793 | name: ["-r", "--raw"], |
| 1794 | description: "Produce some raw output", |
| 1795 | args: { |
| 1796 | name: "boolean", |
| 1797 | }, |
| 1798 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png", |
| 1799 | }, |
| 1800 | { |
| 1801 | name: "--config", |
| 1802 | description: "Deprecated: Use app.config.js to switch config files instead", |
| 1803 | args: { |
| 1804 | name: "file", |
| 1805 | isOptional: true, |
| 1806 | template: "filepaths", |
| 1807 | }, |
| 1808 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png", |
| 1809 | priority: 2, |
| 1810 | }, |
| 1811 | ], |
| 1812 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/publish.png", |
| 1813 | }, |
| 1814 | { |
| 1815 | name: ["publish:details", "pd"], |
| 1816 | hidden: false, |
| 1817 | description: "Log details of a published release", |
| 1818 | priority: 60, |
| 1819 | args: { |
| 1820 | isOptional: true, |
| 1821 | template: "folders", |
| 1822 | name: "path", |
| 1823 | }, |
| 1824 | options: [ |
| 1825 | { |
| 1826 | name: ["-h", "--help"], |
| 1827 | priority: 1, |
| 1828 | description: "Output usage information", |
| 1829 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png", |
| 1830 | }, |
| 1831 | { |
| 1832 | name: "--publish-id", |
| 1833 | description: "Publication id. (Required)", |
| 1834 | args: { |
| 1835 | name: "boolean", |
| 1836 | }, |
| 1837 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png", |
| 1838 | }, |
| 1839 | { |
| 1840 | name: ["-r", "--raw"], |
| 1841 | description: "Produce some raw output", |
| 1842 | args: { |
| 1843 | name: "boolean", |
| 1844 | }, |
| 1845 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png", |
| 1846 | }, |
| 1847 | { |
| 1848 | name: "--config", |
| 1849 | description: "Deprecated: Use app.config.js to switch config files instead", |
| 1850 | args: { |
| 1851 | name: "file", |
| 1852 | isOptional: true, |
| 1853 | template: "filepaths", |
| 1854 | }, |
| 1855 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png", |
| 1856 | priority: 2, |
| 1857 | }, |
| 1858 | ], |
| 1859 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/publish.png", |
| 1860 | }, |
| 1861 | { |
| 1862 | name: "push:android:upload", |
| 1863 | hidden: false, |
| 1864 | description: "Upload an FCM key for Android push notifications", |
| 1865 | priority: 57, |
| 1866 | args: { |
| 1867 | isOptional: true, |
| 1868 | template: "folders", |
| 1869 | name: "path", |
| 1870 | }, |
| 1871 | options: [ |
| 1872 | { |
| 1873 | name: ["-h", "--help"], |
| 1874 | priority: 1, |
| 1875 | description: "Output usage information", |
| 1876 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png", |
| 1877 | }, |
| 1878 | { |
| 1879 | name: "--api-key", |
| 1880 | description: "Server API key for FCM", |
| 1881 | args: { |
| 1882 | name: "boolean", |
| 1883 | }, |
| 1884 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/key.png", |
| 1885 | }, |
| 1886 | { |
| 1887 | name: "--config", |
| 1888 | description: "Deprecated: Use app.config.js to switch config files instead", |
| 1889 | args: { |
| 1890 | name: "file", |
| 1891 | isOptional: true, |
| 1892 | template: "filepaths", |
| 1893 | }, |
| 1894 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png", |
| 1895 | priority: 2, |
| 1896 | }, |
| 1897 | ], |
| 1898 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/push.png", |
| 1899 | }, |
| 1900 | { |
| 1901 | name: "push:android:show", |
| 1902 | hidden: false, |
| 1903 | description: "Log the value currently in use for FCM notifications for this project", |
| 1904 | priority: 57, |
| 1905 | args: { |
| 1906 | isOptional: true, |
| 1907 | template: "folders", |
| 1908 | name: "path", |
| 1909 | }, |
| 1910 | options: [ |
| 1911 | { |
| 1912 | name: ["-h", "--help"], |
| 1913 | priority: 1, |
| 1914 | description: "Output usage information", |
| 1915 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png", |
| 1916 | }, |
| 1917 | { |
| 1918 | name: "--config", |
| 1919 | description: "Deprecated: Use app.config.js to switch config files instead", |
| 1920 | args: { |
| 1921 | name: "file", |
| 1922 | isOptional: true, |
| 1923 | template: "filepaths", |
| 1924 | }, |
| 1925 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png", |
| 1926 | priority: 2, |
| 1927 | }, |
| 1928 | ], |
| 1929 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/push.png", |
| 1930 | }, |
| 1931 | { |
| 1932 | name: "push:android:clear", |
| 1933 | hidden: false, |
| 1934 | description: "Delete a previously uploaded FCM credential", |
| 1935 | priority: 57, |
| 1936 | args: { |
| 1937 | isOptional: true, |
| 1938 | template: "folders", |
| 1939 | name: "path", |
| 1940 | }, |
| 1941 | options: [ |
| 1942 | { |
| 1943 | name: ["-h", "--help"], |
| 1944 | priority: 1, |
| 1945 | description: "Output usage information", |
| 1946 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png", |
| 1947 | }, |
| 1948 | { |
| 1949 | name: "--config", |
| 1950 | description: "Deprecated: Use app.config.js to switch config files instead", |
| 1951 | args: { |
| 1952 | name: "file", |
| 1953 | isOptional: true, |
| 1954 | template: "filepaths", |
| 1955 | }, |
| 1956 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png", |
| 1957 | priority: 2, |
| 1958 | }, |
| 1959 | ], |
| 1960 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/push-clear.png", |
| 1961 | }, |
| 1962 | { |
| 1963 | name: "register", |
| 1964 | hidden: false, |
| 1965 | description: "Sign up for a new Expo account", |
| 1966 | priority: 63, |
| 1967 | options: [ |
| 1968 | { |
| 1969 | name: ["-h", "--help"], |
| 1970 | priority: 1, |
| 1971 | description: "Output usage information", |
| 1972 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png", |
| 1973 | }, |
| 1974 | ], |
| 1975 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/register.png", |
| 1976 | }, |
| 1977 | { |
| 1978 | name: "run:android", |
| 1979 | hidden: false, |
| 1980 | description: "Run the Android app binary locally", |
| 1981 | priority: 64, |
| 1982 | args: { |
| 1983 | isOptional: true, |
| 1984 | template: "folders", |
| 1985 | name: "path", |
| 1986 | }, |
| 1987 | options: [ |
| 1988 | { |
| 1989 | name: ["-h", "--help"], |
| 1990 | priority: 1, |
| 1991 | description: "Output usage information", |
| 1992 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png", |
| 1993 | }, |
| 1994 | { |
| 1995 | name: "--no-bundler", |
| 1996 | description: "Skip starting the Metro bundler", |
| 1997 | args: { |
| 1998 | name: "boolean", |
| 1999 | }, |
| 2000 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/metro.png", |
| 2001 | }, |
| 2002 | { |
| 2003 | name: ["-d", "--device"], |
| 2004 | description: "Device name to build the app on", |
| 2005 | args: { |
| 2006 | name: "device", |
| 2007 | isOptional: true, |
| 2008 | }, |
| 2009 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/devices.png", |
| 2010 | }, |
| 2011 | { |
| 2012 | name: ["-p", "--port"], |
| 2013 | description: "Port to start the Metro bundler on. Default: 8081", |
| 2014 | args: { |
| 2015 | name: "port", |
| 2016 | isOptional: false, |
| 2017 | }, |
| 2018 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/number.png", |
| 2019 | }, |
| 2020 | { |
| 2021 | name: "--variant", |
| 2022 | description: "(Android) build variant", |
| 2023 | args: { |
| 2024 | name: "name", |
| 2025 | isOptional: true, |
| 2026 | }, |
| 2027 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png", |
| 2028 | }, |
| 2029 | { |
| 2030 | name: "--config", |
| 2031 | description: "Deprecated: Use app.config.js to switch config files instead", |
| 2032 | args: { |
| 2033 | name: "file", |
| 2034 | isOptional: true, |
| 2035 | template: "filepaths", |
| 2036 | }, |
| 2037 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png", |
| 2038 | priority: 2, |
| 2039 | }, |
| 2040 | ], |
| 2041 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/android.png", |
| 2042 | }, |
| 2043 | { |
| 2044 | name: "run:ios", |
| 2045 | hidden: false, |
| 2046 | description: "Run the iOS app binary locally", |
| 2047 | priority: 64, |
| 2048 | args: { |
| 2049 | isOptional: true, |
| 2050 | template: "folders", |
| 2051 | name: "path", |
| 2052 | }, |
| 2053 | options: [ |
| 2054 | { |
| 2055 | name: ["-h", "--help"], |
| 2056 | priority: 1, |
| 2057 | description: "Output usage information", |
| 2058 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png", |
| 2059 | }, |
| 2060 | { |
| 2061 | name: "--no-install", |
| 2062 | description: "Skip installing dependencies", |
| 2063 | args: { |
| 2064 | name: "boolean", |
| 2065 | }, |
| 2066 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/skip.png", |
| 2067 | }, |
| 2068 | { |
| 2069 | name: "--no-bundler", |
| 2070 | description: "Skip starting the Metro bundler", |
| 2071 | args: { |
| 2072 | name: "boolean", |
| 2073 | }, |
| 2074 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/metro.png", |
| 2075 | }, |
| 2076 | { |
| 2077 | name: ["-d", "--device"], |
| 2078 | description: "Device name or UDID to build the app on", |
| 2079 | args: { |
| 2080 | name: "device", |
| 2081 | isOptional: false, |
| 2082 | }, |
| 2083 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/devices.png", |
| 2084 | }, |
| 2085 | { |
| 2086 | name: ["-p", "--port"], |
| 2087 | description: "Port to start the Metro bundler on. Default: 8081", |
| 2088 | args: { |
| 2089 | name: "port", |
| 2090 | isOptional: false, |
| 2091 | }, |
| 2092 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/number.png", |
| 2093 | }, |
| 2094 | { |
| 2095 | name: "--scheme", |
| 2096 | description: "Scheme to build", |
| 2097 | args: { |
| 2098 | name: "scheme", |
| 2099 | isOptional: true, |
| 2100 | }, |
| 2101 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png", |
| 2102 | }, |
| 2103 | { |
| 2104 | name: "--configuration", |
| 2105 | description: "Xcode configuration to use. Debug or Release. Default: Debug", |
| 2106 | args: { |
| 2107 | name: "configuration", |
| 2108 | isOptional: false, |
| 2109 | }, |
| 2110 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png", |
| 2111 | }, |
| 2112 | { |
| 2113 | name: "--config", |
| 2114 | description: "Deprecated: Use app.config.js to switch config files instead", |
| 2115 | args: { |
| 2116 | name: "file", |
| 2117 | isOptional: true, |
| 2118 | template: "filepaths", |
| 2119 | }, |
| 2120 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png", |
| 2121 | priority: 2, |
| 2122 | }, |
| 2123 | ], |
| 2124 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/apple.png", |
| 2125 | }, |
| 2126 | { |
| 2127 | name: "send", |
| 2128 | hidden: false, |
| 2129 | description: "Share the project's URL to an email address", |
| 2130 | priority: 64, |
| 2131 | args: { |
| 2132 | isOptional: true, |
| 2133 | template: "folders", |
| 2134 | name: "path", |
| 2135 | }, |
| 2136 | options: [ |
| 2137 | { |
| 2138 | name: ["-h", "--help"], |
| 2139 | priority: 1, |
| 2140 | description: "Output usage information", |
| 2141 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png", |
| 2142 | }, |
| 2143 | { |
| 2144 | name: ["-s", "--send-to"], |
| 2145 | description: "Email address to send the URL to", |
| 2146 | args: { |
| 2147 | name: "dest", |
| 2148 | isOptional: true, |
| 2149 | }, |
| 2150 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/send.png", |
| 2151 | }, |
| 2152 | { |
| 2153 | name: "--dev-client", |
| 2154 | description: "Experimental: Starts the bundler for use with the expo-development-client", |
| 2155 | args: { |
| 2156 | name: "boolean", |
| 2157 | }, |
| 2158 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/dev.png", |
| 2159 | }, |
| 2160 | { |
| 2161 | name: "--scheme", |
| 2162 | description: "Custom URI protocol to use with a dev client", |
| 2163 | args: { |
| 2164 | name: "scheme", |
| 2165 | isOptional: false, |
| 2166 | }, |
| 2167 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/scheme.png", |
| 2168 | }, |
| 2169 | { |
| 2170 | name: ["-a", "--android"], |
| 2171 | description: "Opens your app in Expo Go on a connected Android device", |
| 2172 | args: { |
| 2173 | name: "boolean", |
| 2174 | }, |
| 2175 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/android.png", |
| 2176 | }, |
| 2177 | { |
| 2178 | name: ["-i", "--ios"], |
| 2179 | description: |
| 2180 | "Opens your app in Expo Go in a currently running iOS simulator on your computer", |
| 2181 | args: { |
| 2182 | name: "boolean", |
| 2183 | }, |
| 2184 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/apple.png", |
| 2185 | }, |
| 2186 | { |
| 2187 | name: ["-w", "--web"], |
| 2188 | description: "Opens your app in a web browser", |
| 2189 | args: { |
| 2190 | name: "boolean", |
| 2191 | }, |
| 2192 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/web.png", |
| 2193 | }, |
| 2194 | { |
| 2195 | name: ["-m", "--host"], |
| 2196 | description: |
| 2197 | 'Lan (default), tunnel, localhost. Type of host to use. "tunnel" allows you to view your link on other networks', |
| 2198 | args: { |
| 2199 | name: "mode", |
| 2200 | isOptional: true, |
| 2201 | }, |
| 2202 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/lan.png", |
| 2203 | }, |
| 2204 | { |
| 2205 | name: "--tunnel", |
| 2206 | description: "Same as --host tunnel", |
| 2207 | args: { |
| 2208 | name: "boolean", |
| 2209 | }, |
| 2210 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/tunnel.png", |
| 2211 | }, |
| 2212 | { |
| 2213 | name: "--lan", |
| 2214 | description: "Same as --host lan", |
| 2215 | args: { |
| 2216 | name: "boolean", |
| 2217 | }, |
| 2218 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/lan.png", |
| 2219 | }, |
| 2220 | { |
| 2221 | name: "--localhost", |
| 2222 | description: "Same as --host localhost", |
| 2223 | args: { |
| 2224 | name: "boolean", |
| 2225 | }, |
| 2226 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/localhost.png", |
| 2227 | }, |
| 2228 | { |
| 2229 | name: "--config", |
| 2230 | description: "Deprecated: Use app.config.js to switch config files instead", |
| 2231 | args: { |
| 2232 | name: "file", |
| 2233 | isOptional: true, |
| 2234 | template: "filepaths", |
| 2235 | }, |
| 2236 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png", |
| 2237 | priority: 2, |
| 2238 | }, |
| 2239 | ], |
| 2240 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/send.png", |
| 2241 | }, |
| 2242 | { |
| 2243 | name: ["start", "r"], |
| 2244 | hidden: false, |
| 2245 | description: "Start a local dev server for the app", |
| 2246 | priority: 64, |
| 2247 | args: { |
| 2248 | isOptional: true, |
| 2249 | template: "folders", |
| 2250 | name: "path", |
| 2251 | }, |
| 2252 | options: [ |
| 2253 | { |
| 2254 | name: ["-h", "--help"], |
| 2255 | priority: 1, |
| 2256 | description: "Output usage information", |
| 2257 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png", |
| 2258 | }, |
| 2259 | { |
| 2260 | name: ["-s", "--send-to"], |
| 2261 | description: "An email address to send a link to", |
| 2262 | args: { |
| 2263 | name: "dest", |
| 2264 | isOptional: true, |
| 2265 | }, |
| 2266 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/send.png", |
| 2267 | }, |
| 2268 | { |
| 2269 | name: ["-c", "--clear"], |
| 2270 | description: "Clear the Metro bundler cache", |
| 2271 | args: { |
| 2272 | name: "boolean", |
| 2273 | }, |
| 2274 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/clear.png", |
| 2275 | }, |
| 2276 | { |
| 2277 | name: "--max-workers", |
| 2278 | description: "Maximum number of tasks to allow Metro to spawn", |
| 2279 | args: { |
| 2280 | name: "Number of workers", |
| 2281 | isOptional: false, |
| 2282 | }, |
| 2283 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/number.png", |
| 2284 | }, |
| 2285 | { |
| 2286 | name: "--dev", |
| 2287 | description: "Turn development mode on", |
| 2288 | args: { |
| 2289 | name: "boolean", |
| 2290 | }, |
| 2291 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/dev.png", |
| 2292 | }, |
| 2293 | { |
| 2294 | name: "--no-dev", |
| 2295 | description: "Turn development mode off", |
| 2296 | args: { |
| 2297 | name: "boolean", |
| 2298 | }, |
| 2299 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/skip.png", |
| 2300 | }, |
| 2301 | { |
| 2302 | name: "--minify", |
| 2303 | description: "Minify code", |
| 2304 | args: { |
| 2305 | name: "boolean", |
| 2306 | }, |
| 2307 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/minify.png", |
| 2308 | }, |
| 2309 | { |
| 2310 | name: "--no-minify", |
| 2311 | description: "Do not minify code", |
| 2312 | args: { |
| 2313 | name: "boolean", |
| 2314 | }, |
| 2315 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/skip.png", |
| 2316 | }, |
| 2317 | { |
| 2318 | name: "--https", |
| 2319 | description: "To start webpack with https protocol", |
| 2320 | args: { |
| 2321 | name: "boolean", |
| 2322 | }, |
| 2323 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/lock.png", |
| 2324 | }, |
| 2325 | { |
| 2326 | name: ["-p", "--port"], |
| 2327 | description: |
| 2328 | "Port to start the native Metro bundler on (does not apply to web or tunnel). Default: 19000", |
| 2329 | args: { |
| 2330 | name: "port", |
| 2331 | isOptional: false, |
| 2332 | }, |
| 2333 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/number.png", |
| 2334 | }, |
| 2335 | { |
| 2336 | name: "--no-https", |
| 2337 | description: "To start webpack with http protocol", |
| 2338 | args: { |
| 2339 | name: "boolean", |
| 2340 | }, |
| 2341 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/skip.png", |
| 2342 | }, |
| 2343 | { |
| 2344 | name: "--dev-client", |
| 2345 | description: "Experimental: Starts the bundler for use with the expo-development-client", |
| 2346 | args: { |
| 2347 | name: "boolean", |
| 2348 | }, |
| 2349 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/dev.png", |
| 2350 | }, |
| 2351 | { |
| 2352 | name: "--scheme", |
| 2353 | description: "Custom URI protocol to use with a dev client", |
| 2354 | args: { |
| 2355 | name: "scheme", |
| 2356 | isOptional: false, |
| 2357 | }, |
| 2358 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/scheme.png", |
| 2359 | }, |
| 2360 | { |
| 2361 | name: ["-a", "--android"], |
| 2362 | description: "Opens your app in Expo Go on a connected Android device", |
| 2363 | args: { |
| 2364 | name: "boolean", |
| 2365 | }, |
| 2366 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/android.png", |
| 2367 | }, |
| 2368 | { |
| 2369 | name: ["-i", "--ios"], |
| 2370 | description: |
| 2371 | "Opens your app in Expo Go in a currently running iOS simulator on your computer", |
| 2372 | args: { |
| 2373 | name: "boolean", |
| 2374 | }, |
| 2375 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/apple.png", |
| 2376 | }, |
| 2377 | { |
| 2378 | name: ["-w", "--web"], |
| 2379 | description: "Opens your app in a web browser", |
| 2380 | args: { |
| 2381 | name: "boolean", |
| 2382 | }, |
| 2383 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/web.png", |
| 2384 | }, |
| 2385 | { |
| 2386 | name: ["-m", "--host"], |
| 2387 | description: |
| 2388 | 'Lan (default), tunnel, localhost. Type of host to use. "tunnel" allows you to view your link on other networks', |
| 2389 | args: { |
| 2390 | name: "mode", |
| 2391 | isOptional: true, |
| 2392 | }, |
| 2393 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/lan.png", |
| 2394 | }, |
| 2395 | { |
| 2396 | name: "--tunnel", |
| 2397 | description: "Same as --host tunnel", |
| 2398 | args: { |
| 2399 | name: "boolean", |
| 2400 | }, |
| 2401 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/tunnel.png", |
| 2402 | }, |
| 2403 | { |
| 2404 | name: "--lan", |
| 2405 | description: "Same as --host lan", |
| 2406 | args: { |
| 2407 | name: "boolean", |
| 2408 | }, |
| 2409 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/lan.png", |
| 2410 | }, |
| 2411 | { |
| 2412 | name: "--localhost", |
| 2413 | description: "Same as --host localhost", |
| 2414 | args: { |
| 2415 | name: "boolean", |
| 2416 | }, |
| 2417 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/localhost.png", |
| 2418 | }, |
| 2419 | { |
| 2420 | name: "--offline", |
| 2421 | description: "Allows this command to run while offline", |
| 2422 | args: { |
| 2423 | name: "boolean", |
| 2424 | }, |
| 2425 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/offline.png", |
| 2426 | }, |
| 2427 | { |
| 2428 | name: "--config", |
| 2429 | description: "Deprecated: Use app.config.js to switch config files instead", |
| 2430 | args: { |
| 2431 | name: "file", |
| 2432 | isOptional: true, |
| 2433 | template: "filepaths", |
| 2434 | }, |
| 2435 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png", |
| 2436 | priority: 2, |
| 2437 | }, |
| 2438 | ], |
| 2439 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/play.png", |
| 2440 | }, |
| 2441 | { |
| 2442 | name: ["start:web", "web"], |
| 2443 | hidden: false, |
| 2444 | description: "Start a Webpack dev server for the web app", |
| 2445 | priority: 64, |
| 2446 | args: { |
| 2447 | isOptional: true, |
| 2448 | template: "folders", |
| 2449 | name: "path", |
| 2450 | }, |
| 2451 | options: [ |
| 2452 | { |
| 2453 | name: ["-h", "--help"], |
| 2454 | priority: 1, |
| 2455 | description: "Output usage information", |
| 2456 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png", |
| 2457 | }, |
| 2458 | { |
| 2459 | name: "--dev", |
| 2460 | description: "Turn development mode on", |
| 2461 | args: { |
| 2462 | name: "boolean", |
| 2463 | }, |
| 2464 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/dev.png", |
| 2465 | }, |
| 2466 | { |
| 2467 | name: "--no-dev", |
| 2468 | description: "Turn development mode off", |
| 2469 | args: { |
| 2470 | name: "boolean", |
| 2471 | }, |
| 2472 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/skip.png", |
| 2473 | }, |
| 2474 | { |
| 2475 | name: "--minify", |
| 2476 | description: "Minify code", |
| 2477 | args: { |
| 2478 | name: "boolean", |
| 2479 | }, |
| 2480 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/minify.png", |
| 2481 | }, |
| 2482 | { |
| 2483 | name: "--no-minify", |
| 2484 | description: "Do not minify code", |
| 2485 | args: { |
| 2486 | name: "boolean", |
| 2487 | }, |
| 2488 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/skip.png", |
| 2489 | }, |
| 2490 | { |
| 2491 | name: "--https", |
| 2492 | description: "To start webpack with https protocol", |
| 2493 | args: { |
| 2494 | name: "boolean", |
| 2495 | }, |
| 2496 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/lock.png", |
| 2497 | }, |
| 2498 | { |
| 2499 | name: "--no-https", |
| 2500 | description: "To start webpack with http protocol", |
| 2501 | args: { |
| 2502 | name: "boolean", |
| 2503 | }, |
| 2504 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/skip.png", |
| 2505 | }, |
| 2506 | { |
| 2507 | name: ["-p", "--port"], |
| 2508 | description: "Port to start the Webpack bundler on. Default: 19006", |
| 2509 | args: { |
| 2510 | name: "port", |
| 2511 | isOptional: false, |
| 2512 | }, |
| 2513 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/number.png", |
| 2514 | }, |
| 2515 | { |
| 2516 | name: ["-s", "--send-to"], |
| 2517 | description: "An email address to send a link to", |
| 2518 | args: { |
| 2519 | name: "dest", |
| 2520 | isOptional: true, |
| 2521 | }, |
| 2522 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/send.png", |
| 2523 | }, |
| 2524 | { |
| 2525 | name: "--dev-client", |
| 2526 | description: "Experimental: Starts the bundler for use with the expo-development-client", |
| 2527 | args: { |
| 2528 | name: "boolean", |
| 2529 | }, |
| 2530 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/dev.png", |
| 2531 | }, |
| 2532 | { |
| 2533 | name: "--scheme", |
| 2534 | description: "Custom URI protocol to use with a dev client", |
| 2535 | args: { |
| 2536 | name: "scheme", |
| 2537 | isOptional: false, |
| 2538 | }, |
| 2539 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/scheme.png", |
| 2540 | }, |
| 2541 | { |
| 2542 | name: ["-a", "--android"], |
| 2543 | description: "Opens your app in Expo Go on a connected Android device", |
| 2544 | args: { |
| 2545 | name: "boolean", |
| 2546 | }, |
| 2547 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/android.png", |
| 2548 | }, |
| 2549 | { |
| 2550 | name: ["-i", "--ios"], |
| 2551 | description: |
| 2552 | "Opens your app in Expo Go in a currently running iOS simulator on your computer", |
| 2553 | args: { |
| 2554 | name: "boolean", |
| 2555 | }, |
| 2556 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/apple.png", |
| 2557 | }, |
| 2558 | { |
| 2559 | name: ["-w", "--web"], |
| 2560 | description: "Opens your app in a web browser", |
| 2561 | args: { |
| 2562 | name: "boolean", |
| 2563 | }, |
| 2564 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/web.png", |
| 2565 | }, |
| 2566 | { |
| 2567 | name: ["-m", "--host"], |
| 2568 | description: |
| 2569 | 'Lan (default), tunnel, localhost. Type of host to use. "tunnel" allows you to view your link on other networks', |
| 2570 | args: { |
| 2571 | name: "mode", |
| 2572 | isOptional: true, |
| 2573 | }, |
| 2574 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/lan.png", |
| 2575 | }, |
| 2576 | { |
| 2577 | name: "--tunnel", |
| 2578 | description: "Same as --host tunnel", |
| 2579 | args: { |
| 2580 | name: "boolean", |
| 2581 | }, |
| 2582 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/tunnel.png", |
| 2583 | }, |
| 2584 | { |
| 2585 | name: "--lan", |
| 2586 | description: "Same as --host lan", |
| 2587 | args: { |
| 2588 | name: "boolean", |
| 2589 | }, |
| 2590 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/lan.png", |
| 2591 | }, |
| 2592 | { |
| 2593 | name: "--localhost", |
| 2594 | description: "Same as --host localhost", |
| 2595 | args: { |
| 2596 | name: "boolean", |
| 2597 | }, |
| 2598 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/localhost.png", |
| 2599 | }, |
| 2600 | { |
| 2601 | name: "--offline", |
| 2602 | description: "Allows this command to run while offline", |
| 2603 | args: { |
| 2604 | name: "boolean", |
| 2605 | }, |
| 2606 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/offline.png", |
| 2607 | }, |
| 2608 | { |
| 2609 | name: "--config", |
| 2610 | description: "Deprecated: Use app.config.js to switch config files instead", |
| 2611 | args: { |
| 2612 | name: "file", |
| 2613 | isOptional: true, |
| 2614 | template: "filepaths", |
| 2615 | }, |
| 2616 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png", |
| 2617 | priority: 2, |
| 2618 | }, |
| 2619 | ], |
| 2620 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/web.png", |
| 2621 | }, |
| 2622 | { |
| 2623 | name: ["upgrade", "update"], |
| 2624 | hidden: false, |
| 2625 | description: "Upgrade the project packages and config for the given SDK version", |
| 2626 | priority: 61, |
| 2627 | args: { |
| 2628 | isOptional: true, |
| 2629 | name: "sdk-version", |
| 2630 | }, |
| 2631 | options: [ |
| 2632 | { |
| 2633 | name: ["-h", "--help"], |
| 2634 | priority: 1, |
| 2635 | description: "Output usage information", |
| 2636 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png", |
| 2637 | }, |
| 2638 | { |
| 2639 | name: "--npm", |
| 2640 | description: "Use npm to install dependencies. (default when package-lock.json exists)", |
| 2641 | args: { |
| 2642 | name: "boolean", |
| 2643 | }, |
| 2644 | icon: "fig://icon?type=npm", |
| 2645 | }, |
| 2646 | { |
| 2647 | name: "--yarn", |
| 2648 | description: "Use Yarn to install dependencies. (default when yarn.lock exists)", |
| 2649 | args: { |
| 2650 | name: "boolean", |
| 2651 | }, |
| 2652 | icon: "fig://icon?type=yarn", |
| 2653 | }, |
| 2654 | ], |
| 2655 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/upgrade.png", |
| 2656 | }, |
| 2657 | { |
| 2658 | name: ["upload:android", "ua"], |
| 2659 | hidden: false, |
| 2660 | description: "Upload an Android binary to the Google Play Store", |
| 2661 | priority: 54, |
| 2662 | args: { |
| 2663 | isOptional: true, |
| 2664 | template: "folders", |
| 2665 | name: "path", |
| 2666 | }, |
| 2667 | options: [ |
| 2668 | { |
| 2669 | name: ["-h", "--help"], |
| 2670 | priority: 1, |
| 2671 | description: "Output usage information", |
| 2672 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png", |
| 2673 | }, |
| 2674 | { |
| 2675 | name: "--latest", |
| 2676 | description: "Upload the latest build", |
| 2677 | args: { |
| 2678 | name: "boolean", |
| 2679 | }, |
| 2680 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/latest.png", |
| 2681 | }, |
| 2682 | { |
| 2683 | name: "--id", |
| 2684 | description: "Id of the build to upload", |
| 2685 | args: { |
| 2686 | name: "id", |
| 2687 | isOptional: false, |
| 2688 | }, |
| 2689 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png", |
| 2690 | }, |
| 2691 | { |
| 2692 | name: "--path", |
| 2693 | description: "Path to the .apk/.aab file", |
| 2694 | args: { |
| 2695 | name: "path", |
| 2696 | isOptional: true, |
| 2697 | template: "filepaths", |
| 2698 | }, |
| 2699 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/path.png", |
| 2700 | }, |
| 2701 | { |
| 2702 | name: "--url", |
| 2703 | description: "App archive url", |
| 2704 | args: { |
| 2705 | name: "url", |
| 2706 | isOptional: false, |
| 2707 | }, |
| 2708 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png", |
| 2709 | }, |
| 2710 | { |
| 2711 | name: "--key", |
| 2712 | description: "Path to the JSON key used to authenticate with Google Play", |
| 2713 | args: { |
| 2714 | name: "key", |
| 2715 | isOptional: false, |
| 2716 | }, |
| 2717 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/key.png", |
| 2718 | }, |
| 2719 | { |
| 2720 | name: "--android-package", |
| 2721 | description: "Android package name (using expo.android.package from app.json by default)", |
| 2722 | args: { |
| 2723 | name: "boolean", |
| 2724 | }, |
| 2725 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/android.png", |
| 2726 | }, |
| 2727 | { |
| 2728 | name: "--type", |
| 2729 | description: "Archive type: apk, aab", |
| 2730 | args: { |
| 2731 | name: "boolean", |
| 2732 | }, |
| 2733 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png", |
| 2734 | }, |
| 2735 | { |
| 2736 | name: "--track", |
| 2737 | description: |
| 2738 | "The track of the application to use, choose from: production, beta, alpha, internal, rollout", |
| 2739 | args: { |
| 2740 | name: "track", |
| 2741 | isOptional: false, |
| 2742 | }, |
| 2743 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png", |
| 2744 | }, |
| 2745 | { |
| 2746 | name: "--release-status", |
| 2747 | description: |
| 2748 | "Release status (used when uploading new apks/aabs), choose from: completed, draft, halted, inProgress", |
| 2749 | args: { |
| 2750 | name: "boolean", |
| 2751 | }, |
| 2752 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png", |
| 2753 | }, |
| 2754 | { |
| 2755 | name: "--use-submission-service", |
| 2756 | description: |
| 2757 | "Experimental: Use Submission Service for uploading your app. The upload process will happen on Expo servers", |
| 2758 | args: { |
| 2759 | name: "boolean", |
| 2760 | }, |
| 2761 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png", |
| 2762 | }, |
| 2763 | { |
| 2764 | name: "--verbose", |
| 2765 | description: "Always print logs from Submission Service", |
| 2766 | args: { |
| 2767 | name: "boolean", |
| 2768 | }, |
| 2769 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/verbose.png", |
| 2770 | }, |
| 2771 | { |
| 2772 | name: "--config", |
| 2773 | description: "Deprecated: Use app.config.js to switch config files instead", |
| 2774 | args: { |
| 2775 | name: "file", |
| 2776 | isOptional: true, |
| 2777 | template: "filepaths", |
| 2778 | }, |
| 2779 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png", |
| 2780 | priority: 2, |
| 2781 | }, |
| 2782 | ], |
| 2783 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/play-store.png", |
| 2784 | }, |
| 2785 | { |
| 2786 | name: ["upload:ios", "ui"], |
| 2787 | hidden: false, |
| 2788 | description: "Unsupported: Use eas submit or Transporter app instead", |
| 2789 | priority: 54, |
| 2790 | args: { |
| 2791 | isOptional: true, |
| 2792 | template: "folders", |
| 2793 | name: "path", |
| 2794 | }, |
| 2795 | options: [ |
| 2796 | { |
| 2797 | name: ["-h", "--help"], |
| 2798 | priority: 1, |
| 2799 | description: "Output usage information", |
| 2800 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png", |
| 2801 | }, |
| 2802 | { |
| 2803 | name: "--latest", |
| 2804 | description: "Upload the latest build (default)", |
| 2805 | args: { |
| 2806 | name: "boolean", |
| 2807 | }, |
| 2808 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/latest.png", |
| 2809 | }, |
| 2810 | { |
| 2811 | name: "--id", |
| 2812 | description: "Id of the build to upload", |
| 2813 | args: { |
| 2814 | name: "id", |
| 2815 | isOptional: false, |
| 2816 | }, |
| 2817 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png", |
| 2818 | }, |
| 2819 | { |
| 2820 | name: "--path", |
| 2821 | description: "Path to the .ipa file", |
| 2822 | args: { |
| 2823 | name: "path", |
| 2824 | isOptional: true, |
| 2825 | template: "filepaths", |
| 2826 | }, |
| 2827 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/path.png", |
| 2828 | }, |
| 2829 | { |
| 2830 | name: "--url", |
| 2831 | description: "App archive url", |
| 2832 | args: { |
| 2833 | name: "url", |
| 2834 | isOptional: false, |
| 2835 | }, |
| 2836 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png", |
| 2837 | }, |
| 2838 | { |
| 2839 | name: "--apple-id", |
| 2840 | description: "Your Apple ID username (you can also set EXPO_APPLE_ID env variable)", |
| 2841 | args: { |
| 2842 | name: "boolean", |
| 2843 | }, |
| 2844 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/apple.png", |
| 2845 | }, |
| 2846 | { |
| 2847 | name: "--itc-team-id", |
| 2848 | description: |
| 2849 | "App Store Connect Team ID - this option is deprecated, the proper ID is resolved automatically", |
| 2850 | args: { |
| 2851 | name: "boolean", |
| 2852 | }, |
| 2853 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png", |
| 2854 | }, |
| 2855 | { |
| 2856 | name: "--apple-id-password", |
| 2857 | description: "Your Apple ID password (you can also set EXPO_APPLE_PASSWORD env variable)", |
| 2858 | args: { |
| 2859 | name: "boolean", |
| 2860 | }, |
| 2861 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/apple.png", |
| 2862 | }, |
| 2863 | { |
| 2864 | name: "--app-name", |
| 2865 | description: |
| 2866 | "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)", |
| 2867 | args: { |
| 2868 | name: "boolean", |
| 2869 | }, |
| 2870 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png", |
| 2871 | }, |
| 2872 | { |
| 2873 | name: "--company-name", |
| 2874 | description: |
| 2875 | "The name of your company, needed only for the first upload of any app to App Store", |
| 2876 | args: { |
| 2877 | name: "boolean", |
| 2878 | }, |
| 2879 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png", |
| 2880 | }, |
| 2881 | { |
| 2882 | name: "--sku", |
| 2883 | description: |
| 2884 | "A unique ID for your app that is not visible on the App Store, will be generated unless provided", |
| 2885 | args: { |
| 2886 | name: "sku", |
| 2887 | isOptional: false, |
| 2888 | }, |
| 2889 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png", |
| 2890 | }, |
| 2891 | { |
| 2892 | name: "--language", |
| 2893 | description: |
| 2894 | "Primary language (e.g. English, German; run `expo upload:ios --help` to see the list of available languages)", |
| 2895 | args: { |
| 2896 | name: "language", |
| 2897 | isOptional: false, |
| 2898 | }, |
| 2899 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png", |
| 2900 | }, |
| 2901 | { |
| 2902 | name: "--public-url", |
| 2903 | description: "The URL of an externally hosted manifest (for self-hosted apps)", |
| 2904 | args: { |
| 2905 | name: "url", |
| 2906 | isOptional: false, |
| 2907 | }, |
| 2908 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png", |
| 2909 | }, |
| 2910 | { |
| 2911 | name: "--config", |
| 2912 | description: "Deprecated: Use app.config.js to switch config files instead", |
| 2913 | args: { |
| 2914 | name: "file", |
| 2915 | isOptional: true, |
| 2916 | template: "filepaths", |
| 2917 | }, |
| 2918 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png", |
| 2919 | priority: 2, |
| 2920 | }, |
| 2921 | ], |
| 2922 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/app-store.png", |
| 2923 | }, |
| 2924 | { |
| 2925 | name: ["url", "u"], |
| 2926 | hidden: false, |
| 2927 | description: "Log a URL for opening the project in Expo Go", |
| 2928 | priority: 56, |
| 2929 | args: { |
| 2930 | isOptional: true, |
| 2931 | template: "folders", |
| 2932 | name: "path", |
| 2933 | }, |
| 2934 | options: [ |
| 2935 | { |
| 2936 | name: ["-h", "--help"], |
| 2937 | priority: 1, |
| 2938 | description: "Output usage information", |
| 2939 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png", |
| 2940 | }, |
| 2941 | { |
| 2942 | name: "--dev-client", |
| 2943 | description: "Experimental: Starts the bundler for use with the expo-development-client", |
| 2944 | args: { |
| 2945 | name: "boolean", |
| 2946 | }, |
| 2947 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/dev.png", |
| 2948 | }, |
| 2949 | { |
| 2950 | name: "--scheme", |
| 2951 | description: "Custom URI protocol to use with a dev client", |
| 2952 | args: { |
| 2953 | name: "scheme", |
| 2954 | isOptional: false, |
| 2955 | }, |
| 2956 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/scheme.png", |
| 2957 | }, |
| 2958 | { |
| 2959 | name: ["-a", "--android"], |
| 2960 | description: "Opens your app in Expo Go on a connected Android device", |
| 2961 | args: { |
| 2962 | name: "boolean", |
| 2963 | }, |
| 2964 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/android.png", |
| 2965 | }, |
| 2966 | { |
| 2967 | name: ["-i", "--ios"], |
| 2968 | description: |
| 2969 | "Opens your app in Expo Go in a currently running iOS simulator on your computer", |
| 2970 | args: { |
| 2971 | name: "boolean", |
| 2972 | }, |
| 2973 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/apple.png", |
| 2974 | }, |
| 2975 | { |
| 2976 | name: ["-w", "--web"], |
| 2977 | description: "Opens your app in a web browser", |
| 2978 | args: { |
| 2979 | name: "boolean", |
| 2980 | }, |
| 2981 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/web.png", |
| 2982 | }, |
| 2983 | { |
| 2984 | name: ["-m", "--host"], |
| 2985 | description: |
| 2986 | 'Lan (default), tunnel, localhost. Type of host to use. "tunnel" allows you to view your link on other networks', |
| 2987 | args: { |
| 2988 | name: "mode", |
| 2989 | isOptional: true, |
| 2990 | }, |
| 2991 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/lan.png", |
| 2992 | }, |
| 2993 | { |
| 2994 | name: "--tunnel", |
| 2995 | description: "Same as --host tunnel", |
| 2996 | args: { |
| 2997 | name: "boolean", |
| 2998 | }, |
| 2999 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/tunnel.png", |
| 3000 | }, |
| 3001 | { |
| 3002 | name: "--lan", |
| 3003 | description: "Same as --host lan", |
| 3004 | args: { |
| 3005 | name: "boolean", |
| 3006 | }, |
| 3007 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/lan.png", |
| 3008 | }, |
| 3009 | { |
| 3010 | name: "--localhost", |
| 3011 | description: "Same as --host localhost", |
| 3012 | args: { |
| 3013 | name: "boolean", |
| 3014 | }, |
| 3015 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/localhost.png", |
| 3016 | }, |
| 3017 | { |
| 3018 | name: "--offline", |
| 3019 | description: "Allows this command to run while offline", |
| 3020 | args: { |
| 3021 | name: "boolean", |
| 3022 | }, |
| 3023 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/offline.png", |
| 3024 | }, |
| 3025 | { |
| 3026 | name: "--config", |
| 3027 | description: "Deprecated: Use app.config.js to switch config files instead", |
| 3028 | args: { |
| 3029 | name: "file", |
| 3030 | isOptional: true, |
| 3031 | template: "filepaths", |
| 3032 | }, |
| 3033 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png", |
| 3034 | priority: 2, |
| 3035 | }, |
| 3036 | ], |
| 3037 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/url.png", |
| 3038 | }, |
| 3039 | { |
| 3040 | name: "url:ipa", |
| 3041 | hidden: false, |
| 3042 | description: "Log the download URL for the standalone iOS binary", |
| 3043 | priority: 56, |
| 3044 | args: { |
| 3045 | isOptional: true, |
| 3046 | template: "folders", |
| 3047 | name: "path", |
| 3048 | }, |
| 3049 | options: [ |
| 3050 | { |
| 3051 | name: ["-h", "--help"], |
| 3052 | priority: 1, |
| 3053 | description: "Output usage information", |
| 3054 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png", |
| 3055 | }, |
| 3056 | { |
| 3057 | name: "--public-url", |
| 3058 | description: "The URL of an externally hosted manifest (for self-hosted apps)", |
| 3059 | args: { |
| 3060 | name: "url", |
| 3061 | isOptional: false, |
| 3062 | }, |
| 3063 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png", |
| 3064 | }, |
| 3065 | { |
| 3066 | name: "--config", |
| 3067 | description: "Deprecated: Use app.config.js to switch config files instead", |
| 3068 | args: { |
| 3069 | name: "file", |
| 3070 | isOptional: true, |
| 3071 | template: "filepaths", |
| 3072 | }, |
| 3073 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png", |
| 3074 | priority: 2, |
| 3075 | }, |
| 3076 | ], |
| 3077 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/app-store.png", |
| 3078 | }, |
| 3079 | { |
| 3080 | name: "url:apk", |
| 3081 | hidden: false, |
| 3082 | description: "Log the download URL for the standalone Android binary", |
| 3083 | priority: 56, |
| 3084 | args: { |
| 3085 | isOptional: true, |
| 3086 | template: "folders", |
| 3087 | name: "path", |
| 3088 | }, |
| 3089 | options: [ |
| 3090 | { |
| 3091 | name: ["-h", "--help"], |
| 3092 | priority: 1, |
| 3093 | description: "Output usage information", |
| 3094 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png", |
| 3095 | }, |
| 3096 | { |
| 3097 | name: "--public-url", |
| 3098 | description: "The URL of an externally hosted manifest (for self-hosted apps)", |
| 3099 | args: { |
| 3100 | name: "url", |
| 3101 | isOptional: false, |
| 3102 | }, |
| 3103 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png", |
| 3104 | }, |
| 3105 | { |
| 3106 | name: "--config", |
| 3107 | description: "Deprecated: Use app.config.js to switch config files instead", |
| 3108 | args: { |
| 3109 | name: "file", |
| 3110 | isOptional: true, |
| 3111 | template: "filepaths", |
| 3112 | }, |
| 3113 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png", |
| 3114 | priority: 2, |
| 3115 | }, |
| 3116 | ], |
| 3117 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/play-store.png", |
| 3118 | }, |
| 3119 | { |
| 3120 | name: "webhooks", |
| 3121 | hidden: false, |
| 3122 | description: "List all webhooks for a project", |
| 3123 | priority: 55, |
| 3124 | args: { |
| 3125 | isOptional: true, |
| 3126 | template: "folders", |
| 3127 | name: "path", |
| 3128 | }, |
| 3129 | options: [ |
| 3130 | { |
| 3131 | name: ["-h", "--help"], |
| 3132 | priority: 1, |
| 3133 | description: "Output usage information", |
| 3134 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png", |
| 3135 | }, |
| 3136 | { |
| 3137 | name: "--config", |
| 3138 | description: "Deprecated: Use app.config.js to switch config files instead", |
| 3139 | args: { |
| 3140 | name: "file", |
| 3141 | isOptional: true, |
| 3142 | template: "filepaths", |
| 3143 | }, |
| 3144 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png", |
| 3145 | priority: 2, |
| 3146 | }, |
| 3147 | ], |
| 3148 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/webhook.png", |
| 3149 | }, |
| 3150 | { |
| 3151 | name: "webhooks:add", |
| 3152 | hidden: false, |
| 3153 | description: "Add a webhook to a project", |
| 3154 | priority: 55, |
| 3155 | args: { |
| 3156 | isOptional: true, |
| 3157 | template: "folders", |
| 3158 | name: "path", |
| 3159 | }, |
| 3160 | options: [ |
| 3161 | { |
| 3162 | name: ["-h", "--help"], |
| 3163 | priority: 1, |
| 3164 | description: "Output usage information", |
| 3165 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png", |
| 3166 | }, |
| 3167 | { |
| 3168 | name: "--url", |
| 3169 | description: "URL to request. (Required)", |
| 3170 | args: { |
| 3171 | name: "url", |
| 3172 | isOptional: false, |
| 3173 | }, |
| 3174 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png", |
| 3175 | }, |
| 3176 | { |
| 3177 | name: "--event", |
| 3178 | description: "Event type that triggers the webhook. [build] (Required)", |
| 3179 | args: { |
| 3180 | name: "boolean", |
| 3181 | }, |
| 3182 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png", |
| 3183 | }, |
| 3184 | { |
| 3185 | name: "--secret", |
| 3186 | description: |
| 3187 | "Secret used to create a hash signature of the request payload, provided in the 'Expo-Signature' header", |
| 3188 | args: { |
| 3189 | name: "secret", |
| 3190 | isOptional: false, |
| 3191 | }, |
| 3192 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/lock.png", |
| 3193 | }, |
| 3194 | { |
| 3195 | name: "--config", |
| 3196 | description: "Deprecated: Use app.config.js to switch config files instead", |
| 3197 | args: { |
| 3198 | name: "file", |
| 3199 | isOptional: true, |
| 3200 | template: "filepaths", |
| 3201 | }, |
| 3202 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png", |
| 3203 | priority: 2, |
| 3204 | }, |
| 3205 | ], |
| 3206 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/webhook-add.png", |
| 3207 | }, |
| 3208 | { |
| 3209 | name: "webhooks:remove", |
| 3210 | hidden: false, |
| 3211 | description: "Delete a webhook", |
| 3212 | priority: 55, |
| 3213 | args: { |
| 3214 | isOptional: true, |
| 3215 | template: "folders", |
| 3216 | name: "path", |
| 3217 | }, |
| 3218 | options: [ |
| 3219 | { |
| 3220 | name: ["-h", "--help"], |
| 3221 | priority: 1, |
| 3222 | description: "Output usage information", |
| 3223 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png", |
| 3224 | }, |
| 3225 | { |
| 3226 | name: "--id", |
| 3227 | description: "ID of the webhook to remove", |
| 3228 | args: { |
| 3229 | name: "id", |
| 3230 | isOptional: false, |
| 3231 | }, |
| 3232 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png", |
| 3233 | }, |
| 3234 | { |
| 3235 | name: "--config", |
| 3236 | description: "Deprecated: Use app.config.js to switch config files instead", |
| 3237 | args: { |
| 3238 | name: "file", |
| 3239 | isOptional: true, |
| 3240 | template: "filepaths", |
| 3241 | }, |
| 3242 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png", |
| 3243 | priority: 2, |
| 3244 | }, |
| 3245 | ], |
| 3246 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/webhook-remove.png", |
| 3247 | }, |
| 3248 | { |
| 3249 | name: "webhooks:update", |
| 3250 | hidden: false, |
| 3251 | description: "Update an existing webhook", |
| 3252 | priority: 55, |
| 3253 | args: { |
| 3254 | isOptional: true, |
| 3255 | template: "folders", |
| 3256 | name: "path", |
| 3257 | }, |
| 3258 | options: [ |
| 3259 | { |
| 3260 | name: ["-h", "--help"], |
| 3261 | priority: 1, |
| 3262 | description: "Output usage information", |
| 3263 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png", |
| 3264 | }, |
| 3265 | { |
| 3266 | name: "--id", |
| 3267 | description: "ID of the webhook to update", |
| 3268 | args: { |
| 3269 | name: "id", |
| 3270 | isOptional: false, |
| 3271 | }, |
| 3272 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png", |
| 3273 | }, |
| 3274 | { |
| 3275 | name: "--url", |
| 3276 | description: "URL the webhook will request", |
| 3277 | args: { |
| 3278 | name: "url", |
| 3279 | isOptional: true, |
| 3280 | }, |
| 3281 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png", |
| 3282 | }, |
| 3283 | { |
| 3284 | name: "--event", |
| 3285 | description: "Event type that triggers the webhook. [build]", |
| 3286 | args: { |
| 3287 | name: "boolean", |
| 3288 | }, |
| 3289 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/string.png", |
| 3290 | }, |
| 3291 | { |
| 3292 | name: "--secret", |
| 3293 | description: |
| 3294 | "Secret used to create a hash signature of the request payload, provided in the 'Expo-Signature' header", |
| 3295 | args: { |
| 3296 | name: "secret", |
| 3297 | isOptional: true, |
| 3298 | }, |
| 3299 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/lock.png", |
| 3300 | }, |
| 3301 | { |
| 3302 | name: "--config", |
| 3303 | description: "Deprecated: Use app.config.js to switch config files instead", |
| 3304 | args: { |
| 3305 | name: "file", |
| 3306 | isOptional: true, |
| 3307 | template: "filepaths", |
| 3308 | }, |
| 3309 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/block.png", |
| 3310 | priority: 2, |
| 3311 | }, |
| 3312 | ], |
| 3313 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/webhook-update.png", |
| 3314 | }, |
| 3315 | { |
| 3316 | name: ["whoami", "w"], |
| 3317 | hidden: false, |
| 3318 | description: "Return the currently authenticated account", |
| 3319 | priority: 63, |
| 3320 | options: [ |
| 3321 | { |
| 3322 | name: ["-h", "--help"], |
| 3323 | priority: 1, |
| 3324 | description: "Output usage information", |
| 3325 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/help.png", |
| 3326 | }, |
| 3327 | ], |
| 3328 | icon: "https://raw.githubusercontent.com/expo/expo-cli/master/assets/fig/info.png", |
| 3329 | }, |
| 3330 | ], |
| 3331 | }; |
| 3332 | |
| 3333 | export default completionSpec; |