Command line interface for Genymotion Cloud SaaS
Project description
gmsaas
Description
gmsaas
is a command line interface for Genymotion Cloud SaaS.
Requirements
- Python >= 3.5
- pip3
- Android SDK
Installation
pip3 install gmsaas
Configuration
Two steps are required to use gmsaas
properly:
-
Configure the path to your Android SDK with:
gmsaas config set android-sdk-path <sdk_path>
-
Authenticate with:
gmsaas auth login <email>
Features
List recipes
gmsaas recipes list
Lists recipes that can be started with gmsaas instances start
. Recipe UUID is the identifier used when starting an instance.
Start an instance
gmsaas instances start <recipe_uuid> <name> [--no-wait]
Starts an instance <name>
based on the specified <recipe_uuid>
recipe. The command returns once the instance is started, unless the --no-wait
option has been set. In both cases the instance UUID is printed on standard output.
Connect an instance to ADB
gmsaas instances adbconnect <instance_uuid> [--adb-serial-port PORT]
Connects the instance <instance_uuid>
to ADB. The command returns once ADB is connected. If the --adb-serial-port <PORT>
option is set, the instance will be connected to ADB on localhost:<PORT>
.
List instances
gmsaas instances list
Lists running instances. This also provides the ADB serial used if the instance is connected to ADB.
Stop an instance
gmsaas instances stop <instance_uuid> [--no-wait]
Stops the specified instance. The command returns once the instance is fully stopped, unless the --no-wait
option has been set.
Bash/Zsh auto-completion
gmsaas
supports Bash and Zsh auto-completion. To activate it, you need to inform your shell that completion is available.
For Bash, add this to your .bashrc
:
eval "$(_GMSAAS_COMPLETE=source gmsaas)"
For Zsh, add this to your .zshrc
:
eval "$(_GMSAAS_COMPLETE=source_zsh gmsaas)"
Note: you must type at least one dash to complete command-line options.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Hashes for gmsaas-1.0.0-py3-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6b10b1e4e1f3af7689b2ced4175de354f2792205154abd0d43c24ca5d7fbd8a |
|
MD5 | 56fb52a3c7882e6dbae65f3da09fa6a4 |
|
BLAKE2b-256 | ca4df16267449c7aebcef575b99689268c8bae482873adca0a36868ee2c38d10 |
Hashes for gmsaas-1.0.0-py3-none-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bfeee4eacccec0488977e5ea1ccc843d96ae2dc858817e7fcef36aac32e0ae53 |
|
MD5 | 7abef41f2bb3cd2338d9c94e97d2c2d6 |
|
BLAKE2b-256 | 84482dfb88f4b9681d7761efbbe9d16bd65e398d60b4fc04a0a42f927f36b154 |
Hashes for gmsaas-1.0.0-py3-none-macosx_10_11_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d1f66f8ce7d52c20b4bb847a6c595b994a255c4774f25d4e25cdef20e90c6a0 |
|
MD5 | d0fe65a170964009ebfeebb8e7df317a |
|
BLAKE2b-256 | 9379d1d4fab40b3be6ffd650688dd514f10354c0621ea7dd16d085acdd6a1053 |