HobbyFarm is a Learning Management Platform used by Rancher Labs to provide Hands-On Training and Workshop. More on HobbyFarm here. HB is a CLI tool designed to help HobbyFarm Administrators interact with HobbyFarm. The first feature it has is downloading.
Usage:
hb dl --email [email protected] --password mypassword --region eu1 --scenario "Name of scenario"
where:
email
andpassword
flags are the admin HobbyFarm credentialsregion
: the HobbyFarm's region in the URL: https://admin.na2.hobbyfarm.io/scenario
: is the name of the scenario to download
At the moment this dl command will create a folder with the scenario name and put all markdown steps inside.
To get inline help:
hb help
WARNING: needs improvement to document help for subcommands.
In order to compile the code, you need to have golang installed on your system and, after cloning, run :
go build hb.go scenario.go