Skip to content
No description, website, or topics provided.
Go Shell Makefile Dockerfile
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.githooks
cmd/genesis
pkg
.gitignore
Dockerfile
Jenkinsfile
LICENSE
README.md
binaries.Dockerfile
cloudbuild.yaml
go.mod
go.sum
installer.sh
makefile

README.md

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.

You can’t perform that action at this time.