Skip to content

generationtux/brizoctl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

brizoctl

CLI tool for Brizo

Usage

$ brizoctl list apps
$ brizoctl get apps [UUID]

Install

Download the latest release for your system and move to a location in your $PATH.

$ mv ~/Downloads/brizoctl /usr/local/bin/brizoctl
$ chmod +x /usr/loca/bin/brizoctl

Configure

Create a config file at ~/.brizo.json with the following properties

{
  "endpoint": "https://brizo.example.com",
  "token": "[ACCESS_TOKEN]"
}

Building a release

  • Set the version in main.go.
  • Build binaries and create Github Release

A helper script for building a new release is provided in the bin directory. Run ./bin/buildRelease [VERSION] and binaries will be compiled for OSX and Linux. The results are placed in the dist directory.