genesis-cli

module
v0.0.0-...-194279b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 5, 2020 License: MIT

README

Genesis CLI

Installation

Binaries
Linux and Mac
curl -sSf https://assets.whiteblock.io/cli/install.sh | sh
Windows

Download here

From source

On all operating systems, this CLI can be installed with the command

make install

Running a test

To run a test as a user in the org named "whiteblock", you would use the command:

genesis run <path to your yaml spec> <your-organization-name>

If it is your first time using the CLI, it will prompt you in your browser to complete the authentication process. You only need to do this once.

The CLI will also remember the last organization you used, so after running that command, you would only need to use

genesis run <path to your yaml spec>

to run a subsequent test in the org.

Remote Auth

You can get your credentials with the command genesis auth print-access-token And then you can authenticate anywhere by setting the environment variable GENESIS_CREDENTIALS to the value of the previous command.

Directories

Path Synopsis
cmd
pkg
message
message contains a collection of messages so they can be changed easily
message contains a collection of messages so they can be changed easily
org

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL