3.0.0 • Published 2 months ago

appcenter-cli v3.0.0

Weekly downloads
52,168
License
MIT
Repository
github
Last release
2 months ago

App Center Command Line Interface (CLI)

Visual Studio App Center command line interface (CLI) is a unified tool for running App Center services from the command line. Our aim is to offer a concise and powerful tool for our developers to use App Center services and easily script a sequence of commands that they'd like to execute. You can currently login and view/configure all the apps that you have access to in App Center.

Prerequisites

The required Node.js version is 14 or higher, Mono and the Android-SDK are required to run the UI test for Android and iOS.

Installation

npm install --location=global appcenter-cli

Once installed, use the appcenter command. See below for the available commands.

Getting Help

To get a top level list of the available commands, run appcenter help.

To get help on a specific command or category, run appcenter help command or pass the -h flag to any command or category name.

App Center provides SDK support directly within the App Center portal. Any time you need help, just sign in to App Center, then choose 'Contact support' inside the help menu on the upper right of the App Center portal and our dedicated support team will respond to your questions and feedback.

Commands

Below is the list of commands currently supported by Visual Studio App Center CLI:

CommandDescription
appcenter helpGet help using appcenter commands
appcenter loginLog in
appcenter logoutLog out
appcenter setup-autocompleteSetup tab completion for your shell
appcenter analytics app-versionsShows versions of the application
appcenter analytics audienceShow audience statistics
appcenter analytics log-flowCommand to see the incoming logs in real time
appcenter analytics sessionsShow statistics for sessions
appcenter analytics events deleteDelete event
appcenter analytics events showShow statistics for events
appcenter apps createCreate a new app
appcenter apps deleteDelete an app
appcenter apps get-currentGet the application that's set as default for all CLI commands
appcenter apps listGet list of configured applications
appcenter apps set-currentSet default application for all CLI commands. Not compatible when authenticating with '--token' or an environment variable. Use environment variable 'MOBILE_CENTER_CURRENT_APP' to set the default app instead
appcenter apps showGet the details of an app
appcenter apps updateUpdate an app
appcenter build downloadDownload the binary, logs or symbols for a completed build
appcenter build logsDisplays log for build
appcenter build queueQueue a new build
appcenter build branches listShow list of branches
appcenter build branches showShow branch build status
appcenter codepush patchUpdate the metadata for an existing CodePush release
appcenter codepush promoteCreate a new release for the destination deployment, which includes the exact code and metadata from the latest release of the source deployment
appcenter codepush release-cordovaRelease a Cordova update to an app deployment
appcenter codepush release-electronRelease an Electron update to a deployment
appcenter codepush release-reactRelease a React Native update to an app deployment
appcenter codepush releaseRelease an update to an app deployment
appcenter codepush rollbackRollback a deployment to a previous release
appcenter codepush deployment addAdd a new deployment to an app
appcenter codepush deployment clearClear the release history associated with a deployment
appcenter codepush deployment historyDisplay the release history for a CodePush deployment
appcenter codepush deployment listList the deployments associated with an app
appcenter codepush deployment removeRemove CodePush deployment
appcenter codepush deployment renameRename CodePush deployment
appcenter crashes upload-mappingsUpload the Android mappings for the application
appcenter crashes upload-missing-symbolsUpload missing crash symbols for the application (only from macOS)
appcenter crashes upload-symbolsUpload the crash symbols for the application
appcenter distribute releaseUpload release binary and trigger distribution, at least one of --store or --group must be specified
appcenter distribute groups createCreate new distribution group
appcenter distribute groups deleteDeletes the distribution group
appcenter distribute groups downloadDownload release package for the distribution group
appcenter distribute groups listLists all distribution groups of the app
appcenter distribute groups publishPublish an app file to a group
appcenter distribute groups showShows information about the distribution group
appcenter distribute groups updateUpdate existing distribution group
appcenter distribute releases add-destinationDistribute an existing release to an additional destination
appcenter distribute releases deleteDeletes the release
appcenter distribute releases edit-notesUpdate release notes
appcenter distribute releases editToggles enabling and disabling the specified release
appcenter distribute releases listShows the list of all releases for the application
appcenter distribute releases showShows full details about release
appcenter distribute stores listLists all stores of the app
appcenter distribute stores publishPublish an app file to a store
appcenter orgs createCreate a new organization
appcenter orgs listLists organizations in which current user is collaborator
appcenter orgs showShow information about organization
appcenter orgs updateUpdate organization information
appcenter orgs apps createCreate a new app in an organization
appcenter orgs apps listLists applications of organization
appcenter orgs collaborators listLists collaborators of organization
appcenter orgs collaborators updateUpdate list of organization collaborators
appcenter profile listGet information about logged in user
appcenter profile updateUpdate user information
appcenter telemetry offTurn off the sending of telemetry
appcenter telemetry onTurn on the sending of telemetry
appcenter test downloadDownload the report artifacts, unpack and merge them. This command is only available for UITest and Appium test runs
appcenter test statusChecks the status of the started test run
appcenter test stopStop the started test run
appcenter test wizardStart a test run interactively. All the parameters will be prompted on-the-go
appcenter test generate appiumGenerates an Appium project
appcenter test generate uitestGenerates a Xamarin.UITest project
appcenter test prepare appiumCreates an artifacts directory with Appium tests
appcenter test prepare calabashCreates an artifacts directory with Calabash tests
appcenter test prepare espressoCreates an artifacts directory with Espresso tests
appcenter test prepare uitestCreates an artifacts directory with Xamarin UI Tests
appcenter test prepare xcuitestCreates an artifacts directory with XCUITest tests
appcenter test run appiumStarts a test run with Appium tests
appcenter test run calabashStarts a test run with Calabash tests
appcenter test run espressoStarts a test run with Espresso tests
appcenter test run manifestStarts a test run with previously prepared artifacts
appcenter test run uitestStarts a test run with Xamarin UI Tests
appcenter test run xcuitestStarts a test run with XCUITest tests
appcenter tokens createCreate a new API token
appcenter tokens deleteDelete an API token
appcenter tokens listGet a list of API tokens

Please use the appcenter help command to get more information about each one.

Contributing

Please see the contributing file for an introduction to the codebase and what the various moving parts are.

Known issues

Check out known issues for a list of known issues, and potential workarounds.

Security

Check out SECURITY.md for any security concern with this project.

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

3.0.0

2 months ago

2.13.10

9 months ago

2.14.0

9 months ago

2.13.9

10 months ago

2.13.8

11 months ago

2.13.6

1 year ago

2.13.7

12 months ago

2.13.5

1 year ago

2.13.4

1 year ago

2.13.2

1 year ago

2.13.3

1 year ago

2.13.0

1 year ago

2.13.1

1 year ago

2.12.0

1 year ago

2.11.0

2 years ago

2.10.10

2 years ago

2.10.9

2 years ago

2.10.7

2 years ago

2.10.8

2 years ago

2.10.5

2 years ago

2.10.6

2 years ago

2.10.3

3 years ago

2.10.4

3 years ago

2.10.2

3 years ago

2.10.1

3 years ago

2.10.0

3 years ago

2.9.0

3 years ago

2.8.1

3 years ago

2.8.0

3 years ago

2.7.4

3 years ago

2.7.3

3 years ago

2.7.2

4 years ago

2.7.1

4 years ago

2.7.0

4 years ago

2.6.7

4 years ago

2.6.6

4 years ago

2.6.5

4 years ago

2.6.4

4 years ago

2.6.3

4 years ago

2.6.2

4 years ago

2.6.1

4 years ago

2.6.0

4 years ago

2.5.4

4 years ago

2.5.3

4 years ago

2.5.2

4 years ago

2.5.1

4 years ago

2.5.0

4 years ago

2.4.1

4 years ago

2.4.0

4 years ago

2.3.5

4 years ago

2.3.4

4 years ago

2.3.3

4 years ago

2.3.2

4 years ago

2.3.1

4 years ago

2.3.0

5 years ago

2.2.1

5 years ago

2.2.0

5 years ago

2.1.2

5 years ago

2.1.1

5 years ago

2.1.0

5 years ago

2.0.0

5 years ago

1.2.2

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.20

5 years ago

1.1.19

5 years ago

1.1.18

5 years ago

1.1.17

5 years ago

1.1.16

5 years ago

1.1.15

5 years ago

1.1.14

5 years ago

1.1.13

5 years ago

1.1.12

5 years ago

1.1.11

5 years ago

1.1.10

5 years ago

1.1.9

5 years ago

1.1.8

5 years ago

1.1.7

5 years ago

1.1.6

5 years ago

1.1.5

6 years ago

1.1.4

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.17

6 years ago

1.0.16

6 years ago

1.0.15

6 years ago

1.0.14

6 years ago

1.0.13

6 years ago

1.0.12

6 years ago

1.0.11

6 years ago

1.0.10

6 years ago

1.1.0-distupload

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago