FilledStacks / session_mate_cli

CLI to interact with SessionMate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Session Mate CLI

The companion of Session Mate is a CLI app called sessionmate. Is in charge of the replay of the sessions. Also, allows the user to login, logout, register an application and register a user.

Installation

macOS

The installation of the CLI is through the package manager Homebrew.

Install our Brew Repository known as Tap.

brew tap filledstacks/tap

Then install the package.

brew install sessionmate

Upgrade

To upgrade sessionmate CLI you can execute the following command:

brew upgrade filledstacks/tap/sessionmate

Get Started

For session mate to be able to replay a session it must be a device running on your computer.

  • Emulator supported: Android and iOS
  • Devices supported: Android

To launch the app through sessionmate CLI run

sessionmate drive -p .

If you need to pass additional commands like flavor information or anything like that you can use the additional-commands option.

sessionmate drive -p . --additional-commands="--flavor dev"

The drive command will start the app and enable the replay UI.

You can run help like below to see the rest of the options

sessionmate drive -h

Development

To use Firebase Emulator instead of the production Firebase instance, run sessionmate as below.

dart run bin/sessionmate.dart drive -p .

Production

To use Firebase Cloud Instance you have to pass the WEB_API_KEY from the Firebase project as below.

dart --define=WEB_API_KEY=XXXXXXXXXXXX run bin/sessionmate.dart drive -p .

About

CLI to interact with SessionMate


Languages

Language:Dart 71.5%Language:C++ 13.1%Language:CMake 10.7%Language:Ruby 1.6%Language:Swift 1.2%Language:HTML 1.1%Language:C 0.8%Language:Kotlin 0.1%Language:Objective-C 0.0%