Bartłomiej Klocek e2277b9482 [eas-cli] Fix ASC prompt displayed in --non-interactive (#841)
* [eas-cli] Fix ASC prompt displayed in --non-interactive

* Update CHANGELOG.md

* Apply feedback - fail in non-interactive
2021-12-15 13:28:59 +01:00
2020-11-12 23:41:36 +02:00
2021-10-05 12:28:34 +02:00
2020-08-06 17:28:33 +03:00
2021-11-24 13:53:19 +01:00
2021-11-15 19:59:12 +01:00
2021-05-12 10:06:30 +02:00
2021-09-06 15:58:39 +02:00
2021-09-21 11:39:54 +02:00
2021-12-13 16:19:53 +01:00
2021-04-08 12:35:50 +02:00
2020-08-27 15:03:17 +03:00

eas-cli

EAS command line tool

oclif Version Downloads/week License

Installation

npm install -g eas-cli
# or
yarn global add eas-cli

Usage

eas COMMAND
# runs the command
eas (-v|--version|version)
# prints the version
eas --help COMMAND
# outputs help for specific command

Commands

eas account:login

log in with your Expo account

USAGE
  $ eas account:login

ALIASES
  $ eas login

See code: src/commands/account/login.ts

eas account:logout

log out

USAGE
  $ eas account:logout

ALIASES
  $ eas logout

See code: src/commands/account/logout.ts

eas account:view

show the username you are logged in as

USAGE
  $ eas account:view

ALIASES
  $ eas whoami

See code: src/commands/account/view.ts

eas analytics [STATUS]

view or change analytics settings

USAGE
  $ eas analytics [STATUS]

See code: src/commands/analytics.ts

eas build

Start a build

USAGE
  $ eas build

OPTIONS
  -p, --platform=(android|ios|all)

  --auto-submit                            Submit on build complete using the submit profile with the same name as the
                                           build profile

  --auto-submit-with-profile=PROFILE_NAME  Submit on build complete using the submit profile with provided name

  --clear-cache                            Clear cache before the build

  --json                                   Enable JSON output, non-JSON messages will be printed to stderr

  --local                                  Run build locally [experimental]

  --non-interactive                        Run command in non-interactive mode

  --profile=PROFILE_NAME                   Name of the build profile from eas.json. Defaults to "production" if defined
                                           in eas.json.

  --skip-project-configuration             Skip project configuration

  --[no-]wait                              Wait for build(s) to complete

See code: src/commands/build/index.ts

eas build:cancel [BUILD_ID]

Cancel a build.

USAGE
  $ eas build:cancel [BUILD_ID]

See code: src/commands/build/cancel.ts

eas build:configure

Configure the project to support EAS Build.

USAGE
  $ eas build:configure

OPTIONS
  -p, --platform=(android|ios|all)  Platform to configure

See code: src/commands/build/configure.ts

eas build:inspect

Inspect the state of the project at specific build stages. Useful for troubleshooting.

USAGE
  $ eas build:inspect

OPTIONS
  -p, --platform=(android|ios)
      (required)

  -s, --stage=(archive|pre-build|post-build)
      (required) Stage of the build you want to inspect.
           archive - builds the project archive that would be uploaded to EAS when building
           pre-build - prepares the project to be built with Gradle/Xcode. Does not run the native build.
           post-build - builds the native project and leaves the output directory for inspection

  --force
      Delete OUTPUT_DIRECTORY if it already exists.

  --output=OUTPUT_DIRECTORY
      (required) Output directory.

  --profile=PROFILE_NAME
      Name of the build profile from eas.json. Defaults to "production" if defined in eas.json.

  --verbose

See code: src/commands/build/inspect.ts

eas build:list

list all builds for your project

USAGE
  $ eas build:list

OPTIONS
  --appBuildVersion=appBuildVersion
  --appIdentifier=appIdentifier
  --appVersion=appVersion
  --buildProfile=buildProfile
  --channel=channel
  --distribution=(store|internal|simulator)
  --gitCommitHash=gitCommitHash

  --json                                                         Enable JSON output, non-JSON messages will be printed
                                                                 to stderr

  --limit=limit

  --platform=(all|android|ios)

  --runtimeVersion=runtimeVersion

  --sdkVersion=sdkVersion

  --status=(new|in-queue|in-progress|errored|finished|canceled)

See code: src/commands/build/list.ts

eas build:view [BUILD_ID]

view a build for your project

USAGE
  $ eas build:view [BUILD_ID]

OPTIONS
  --json  Enable JSON output, non-JSON messages will be printed to stderr

See code: src/commands/build/view.ts

eas config

show the eas.json config

USAGE
  $ eas config

OPTIONS
  -p, --platform=(android|ios)
  --profile=profile

See code: src/commands/config.ts

eas credentials

manage your credentials

USAGE
  $ eas credentials

See code: src/commands/credentials.ts

eas device:create

register new Apple Devices to use for internal distribution

USAGE
  $ eas device:create

See code: src/commands/device/create.ts

eas device:list

list all registered devices for your account

USAGE
  $ eas device:list

OPTIONS
  --apple-team-id=apple-team-id

See code: src/commands/device/list.ts

eas device:view [UDID]

view a device for your project

USAGE
  $ eas device:view [UDID]

See code: src/commands/device/view.ts

eas diagnostics

log environment info to the console

USAGE
  $ eas diagnostics

See code: src/commands/diagnostics.ts

eas help [COMMAND]

display help for eas

USAGE
  $ eas help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

eas project:info

information about the current project

USAGE
  $ eas project:info

See code: src/commands/project/info.ts

eas project:init

create or link an EAS project

USAGE
  $ eas project:init

ALIASES
  $ eas init

See code: src/commands/project/init.ts

eas secret:create

Create an environment secret on the current project or owner account.

USAGE
  $ eas secret:create

OPTIONS
  --force                    Delete and recreate existing secrets
  --name=name                Name of the secret
  --scope=(account|project)  [default: project] Scope for the secret
  --value=value              Value of the secret

See code: src/commands/secret/create.ts

eas secret:delete

Delete an environment secret by ID.

USAGE
  $ eas secret:delete

OPTIONS
  --id=id  ID of the secret to delete

DESCRIPTION
  Unsure where to find the secret's ID? Run eas secret:list

See code: src/commands/secret/delete.ts

eas secret:list

Lists environment secrets available for your current app

USAGE
  $ eas secret:list

See code: src/commands/secret/list.ts

eas submit

Submit build archive to App Store Connect

USAGE
  $ eas submit

OPTIONS
  -p, --platform=(android|ios|all)
  --id=id                           ID of the build to submit
  --latest                          Submit the latest build for specified platform
  --non-interactive                 Run command in non-interactive mode
  --path=path                       Path to the .apk/.aab/.ipa file

  --profile=profile                 Name of the submit profile from eas.json. Defaults to "production" if defined in
                                    eas.json.

  --url=url                         App archive url

  --verbose                         Always print logs from Submission Service

  --[no-]wait                       Wait for submission to complete

DESCRIPTION
  See how to configure submits with eas.json: https://docs.expo.dev/submit/eas-json/

ALIASES
  $ eas build:submit

See code: src/commands/submit.ts

eas webhook:create

Create a webhook on the current project.

USAGE
  $ eas webhook:create

OPTIONS
  --event=(BUILD|SUBMIT)  Event type that triggers the webhook

  --secret=secret         Secret used to create a hash signature of the request payload, provided in the
                          'Expo-Signature' header.

  --url=url               Webhook URL

See code: src/commands/webhook/create.ts

eas webhook:delete [ID]

Delete a webhook on the current project.

USAGE
  $ eas webhook:delete [ID]

ARGUMENTS
  ID  ID of the webhook to delete

See code: src/commands/webhook/delete.ts

eas webhook:list

List webhooks on the current project.

USAGE
  $ eas webhook:list

OPTIONS
  --event=(BUILD|SUBMIT)  Event type that triggers the webhook

See code: src/commands/webhook/list.ts

eas webhook:update

Create a webhook on the current project.

USAGE
  $ eas webhook:update

OPTIONS
  --event=(BUILD|SUBMIT)  Event type that triggers the webhook
  --id=id                 (required) Webhook ID

  --secret=secret         Secret used to create a hash signature of the request payload, provided in the
                          'Expo-Signature' header.

  --url=url               Webhook URL

See code: src/commands/webhook/update.ts

eas webhook:view ID

View a webhook on the current project.

USAGE
  $ eas webhook:view ID

ARGUMENTS
  ID  ID of the webhook to view

See code: src/commands/webhook/view.ts

S
Description
The CLI for interacting with Expo Services. Build apps and agentic mobile workflows for Android, iOS, and web.
Readme MIT
64 MiB
0 Stars 1 Watchers 0 Forks
v27.10.0
Latest
2026-11-13 20:10:54 -10:00
Languages
TypeScript 98.9%
JavaScript 0.4%
C 0.4%
Ruby 0.1%
Shell 0.1%