go-cli

module
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: May 12, 2017 License: Apache-2.0

README

StorageOS CLI

StorageOS client for Mac/Linux/Windows

Installation

sudo -i
curl -sSL https://github.com/storageos/go-cli/releases/download/v0.0.4/storageos_linux_amd64 > /usr/local/bin/storageos
chmod +x /usr/local/bin/storageos
exit

Getting started

CLI client needs to know StorageOS server address, username and password. Configuration is supplied through environment variables:

STORAGEOS_HOST=<ip_address:port>
STORAGEOS_USERNAME=<your username>
STORAGEOS_PASSWORD=<your password>

How to build release binaries

$ go get github.com/mitchellh/gox
$ go get
$ make build

The freshly built release binaries will be in `cmd/storageos/release`

Directories

Path Synopsis
cli
cmd
pkg
jsonlog
Package jsonlog provides helper functions to parse and print time (time.Time) as JSON.
Package jsonlog provides helper functions to parse and print time (time.Time) as JSON.
term
Package term provides structures and helper functions to work with terminal (state, sizes).
Package term provides structures and helper functions to work with terminal (state, sizes).

Jump to

Keyboard shortcuts

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