0.12.0 • Published 7 years ago

mobile-center-cli v0.12.0

Weekly downloads
32
License
MIT
Repository
github
Last release
7 years ago

Introduction

Mobile Center command line interface is a unified tool for running Mobile Center services from the command line. Our aim is to offer a concise and powerful tool for our developers to use Mobile 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 Mobile Center.

Although our current feature set is minimal, all the existing Mobile Center services will be added going forward. Note that the Mobile Center CLI is currently in public preview.

Prerequisites

Mobile Center CLI requires Node.js version 6.3 or better. Do not use Node.js 7.1.0, there is a known issue that breaks the CLI code (and many other projects) on Windows 10. This bug has been fixed in later releases of Node.js 7.

Installation

npm install -g mobile-center-cli

Once installed, use the mobile-center command. See below for the available commands.

Getting Help

To get a top level list of the available commands, run mobile-center help.

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

Commands

Below is the list of commands currently supported by Mobile Center CLI:

CommandDescription
mobile-center helpGet help using mobile-center commands
mobile-center loginLog in
mobile-center logoutLog out
mobile-center setup-autocompleteSetup tab completion for your shell
mobile-center analytics app-versionsShows versions of the application
mobile-center analytics audienceShow audience statistics
mobile-center analytics log-flowCommand to see the incoming logs in real time
mobile-center analytics sessionsShow statistics for sessions
mobile-center analytics events deleteDelete event
mobile-center analytics events showShow statistics for events
mobile-center apps createCreate a new app
mobile-center apps deleteDelete an app
mobile-center apps get-currentGet the application that's set as default for all CLI commands
mobile-center apps listGet list of configured applications
mobile-center apps set-currentSet default application for all CLI commands
mobile-center apps showGet the details of an app
mobile-center apps updateUpdate an app
mobile-center build downloadDownload the binary, logs or symbols for a completed build
mobile-center build logsDisplays log for build
mobile-center build queueQueue a new build
mobile-center build branches listShow list of branches
mobile-center build branches showShow branch build status
mobile-center codepush patchUpdate the metadata for an existing CodePush release
mobile-center codepush deployment addAdd a new deployment to an app
mobile-center codepush deployment historyDisplay the release history for a CodePush deployment
mobile-center codepush deployment listList the deployments associated with an app
mobile-center crashes upload-missing-symbolsUpload missing crash symbols for the application (only from macOS)
mobile-center crashes upload-symbolsUpload the crash symbols for the application
mobile-center distribute releaseUpload release binary and trigger distribution
mobile-center distribute groups createCreate new distribution group
mobile-center distribute groups deleteDeletes the distribution group
mobile-center distribute groups downloadDownload release package for the distribution group
mobile-center distribute groups listLists all distribution groups of the app
mobile-center distribute groups showShows information about the distribution group
mobile-center distribute groups updateUpdate existing distribution group
mobile-center distribute releases deleteDeletes the release
mobile-center distribute releases listShows the list of all releases for the application
mobile-center distribute releases showShows full details about release
mobile-center orgs createCreate a new organization
mobile-center orgs listLists organizations in which current user is collaborator
mobile-center orgs showShow information about organization
mobile-center orgs updateUpdate organization information
mobile-center orgs apps listLists applications of organization
mobile-center orgs collaborators listLists collaborators of organization
mobile-center orgs collaborators updateUpdate list of organization collaborators
mobile-center profile listGet information about logged in user
mobile-center profile updateUpdate user information
mobile-center telemetry offTurn off the sending of telemetry
mobile-center telemetry onTurn on the sending of telemetry
mobile-center test statusChecks the status of the started test run.
mobile-center test stopStop the started test run.
mobile-center test generate appiumGenerates an Appium project
mobile-center test generate uitestGenerates a Xamarin.UITest project
mobile-center test prepare appiumCreates an artifacts directory with Appium tests.
mobile-center test prepare calabashCreates an artifacts directory with Calabash tests.
mobile-center test prepare espressoCreates an artifacts directory with Espresso tests.
mobile-center test prepare uitestCreates an artifacts directory with Xamarin UI Tests.
mobile-center test prepare xcuitestCreates an artifacts directory with XCUITest tests.
mobile-center test run appiumStarts a test run with Appium tests.
mobile-center test run calabashStarts a test run with Calabash tests.
mobile-center test run espressoStarts a test run with Espresso tests.
mobile-center test run manifestStarts a test run with previously prepared artifacts.
mobile-center test run uitestStarts a test run with Xamarin UI Tests.
mobile-center test run xcuitestStarts a test run with XCUITest tests.
mobile-center tokens createCreate a new API token
mobile-center tokens deleteDelete an API token
mobile-center tokens listGet a list of API tokens

Please use the mobile-center 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.

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.