Getting Started with CLI

The Command Line Tool (CLI) allows you to upload your app binary and schedule tests from the command line. You can stick the CLI commands in your gradle or jenkins script.

The command line interface tool is hosted on the npm registry here.

Install

with yarn:

 $ yarn global add mq-cli

or with npm:

 $ npm install -g mq-cli
Sample sh-session 
$ npm install -g mq-cli
$ mq COMMAND 
running command... $ mq (-v|--version|version)
mq-cli/0.0.8 darwin-x64 node-v9.10.0 $ mq --help [COMMAND] USAGE...

Commands

mq get-recorder

Downloads or Updates the Recorder

$ mq get-recorder

mq login

Login to MoQuality

$ mq login

mq user

Show User Info

$ mq user

mq apps

Show Apps

$ mq apps

mq upload

Uploads a new version to an App project on MoQuality. You can supply an optional label for this version using -v

$ mq upload

mq devices

Show Devices. Use these devices while scheduling test runs

$ mq devices

mq tests

Show Tests recorded for a particular App project

$ mq tests

mq suites

Show Tests Suites created for a particular App project

$ mq suites

mq schedule

Schedule test runs for a particular app project. Runs are scheduled on the last uploaded version.

$ mq schedule

mq status

Shows status on all test runs for the latest version uploaded for a particular app project.

$ mq status